]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.proconf.processeditor/src/org/simantics/processeditor/views/PlantStructureView.java
88aaa2c80ba1bec1952b987295cac8a8b58d9c09
[simantics/3d.git] / org.simantics.proconf.processeditor / src / org / simantics / processeditor / views / PlantStructureView.java
1 package org.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.processeditor.perspectives.ViewpointGenerator;\r
7 import org.simantics.proconf.browsing.GraphExplorer;\r
8 import org.simantics.proconf.browsing.views.GraphExplorerView;\r
9 \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