]> gerrit.simantics Code Review - simantics/3d.git/blob
2659ab03379f8d0c7e2f690b6beff32a8abed275
[simantics/3d.git] /
1 package org.simantics.processeditor.views;\r
2 \r
3 import org.eclipse.swt.widgets.Composite;\r
4 import org.simantics.db.Resource;\r
5 import org.simantics.db.management.ISessionContext;\r
6 import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;\r
7 import org.simantics.processeditor.perspectives.ViewpointGenerator;\r
8 import org.simantics.proconf.browsing.views.GraphExplorerOutlinePage;\r
9 \r
10 \r
11 public class PlantStructureOutlinePage extends GraphExplorerOutlinePage {\r
12 \r
13         \r
14         public PlantStructureOutlinePage(ISessionContext sessionContext, Resource inputResource) {\r
15                 super(sessionContext, inputResource);\r
16         }\r
17         \r
18         @Override\r
19         public void createControl(Composite parent) {\r
20                 super.createControl(parent);\r
21         }\r
22 \r
23         @Override\r
24         public ResourceViewpoint getViewPoint(ISessionContext sessionContext) {\r
25                 return ViewpointGenerator.createObjectStructureViewpoint();\r
26         }\r
27 }\r