]> gerrit.simantics Code Review - simantics/3d.git/blob
6685e36c3aa424dc8762fb9a50f78fbba7629c13
[simantics/3d.git] /
1 package fi.vtt.simantics.processeditor.views;\r
2 \r
3 import org.eclipse.swt.widgets.Composite;\r
4 import org.simantics.db.management.ISessionContext;\r
5 import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;\r
6 import org.simantics.proconf.browsing.GraphExplorer;\r
7 import org.simantics.proconf.browsing.views.GraphExplorerView;\r
8 \r
9 import fi.vtt.simantics.processeditor.perspectives.ViewpointGenerator;\r
10 \r
11 public class PlantStructureView extends GraphExplorerView {\r
12 \r
13         @Override\r
14         protected GraphExplorer createExplorer(Composite parent) {\r
15                 return super.createExplorer(parent);\r
16         }\r
17         \r
18         @Override\r
19         protected ResourceViewpoint getViewpoint(ISessionContext context) {\r
20                 return ViewpointGenerator.createViewpoint();\r
21         }\r
22 }\r