1 package fi.vtt.simantics.processeditor.views;
\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
9 import fi.vtt.simantics.processeditor.perspectives.ViewpointGenerator;
\r
11 public class PlantStructureView extends GraphExplorerView {
\r
14 protected GraphExplorer createExplorer(Composite parent) {
\r
15 return super.createExplorer(parent);
\r
19 protected ResourceViewpoint getViewpoint(ISessionContext context) {
\r
20 return ViewpointGenerator.createViewpoint();
\r