]> gerrit.simantics Code Review - simantics/3d.git/blob
6031b693eecea1f4528e6c0249e1ede55b8b6421
[simantics/3d.git] /
1 /*******************************************************************************\r
2  * Copyright (c) 2007- VTT Technical Research Centre of Finland.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the terms of the Eclipse Public License v1.0\r
5  * which accompanies this distribution, and is available at\r
6  * http://www.eclipse.org/legal/epl-v10.html\r
7  *\r
8  * Contributors:\r
9  *     VTT Technical Research Centre of Finland - initial API and implementation\r
10  *******************************************************************************/\r
11 package org.simantics.proconf.g3d.shapeeditor.views;\r
12 \r
13 import org.simantics.db.management.ISessionContext;\r
14 import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;\r
15 import org.simantics.proconf.browsing.views.GraphExplorerView;\r
16 import org.simantics.proconf.g3d.shapeeditor.common.ViewpointGenerator;\r
17 \r
18 public class StructureView extends GraphExplorerView {\r
19 \r
20     @Override\r
21     protected void contributeActions() {\r
22     }\r
23 \r
24     @Override\r
25     protected ResourceViewpoint getViewpoint(ISessionContext context) {\r
26         return ViewpointGenerator.createStuctureViewpoint();\r
27     }\r
28 \r
29     /*\r
30     @Override\r
31     public String getContributorId() {\r
32         return "fi.vtt.simantics.shapeeditor.pcid";\r
33     }\r
34 \r
35     @Override\r
36     public Object getAdapter(Class adapter) {\r
37         if (adapter == IPropertySheetPage.class) {\r
38             return new TabbedPropertySheetPage(this);\r
39         }\r
40         return super.getAdapter(adapter);\r
41     }\r
42     */\r
43 \r
44 }\r