]> gerrit.simantics Code Review - simantics/3d.git/blob
fd5a1662a0e9e56181514a6832c8e7b822922755
[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.processeditor.views;\r
12 \r
13 import org.eclipse.swt.widgets.Composite;\r
14 import org.simantics.db.Resource;\r
15 import org.simantics.db.management.ISessionContext;\r
16 import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;\r
17 import org.simantics.processeditor.perspectives.ViewpointGenerator;\r
18 import org.simantics.proconf.browsing.views.GraphExplorerOutlinePage;\r
19 \r
20 \r
21 public class PlantStructureOutlinePage extends GraphExplorerOutlinePage {\r
22 \r
23         \r
24         public PlantStructureOutlinePage(ISessionContext sessionContext, Resource inputResource) {\r
25                 super(sessionContext, inputResource);\r
26         }\r
27         \r
28         @Override\r
29         public void createControl(Composite parent) {\r
30                 super.createControl(parent);\r
31         }\r
32 \r
33         @Override\r
34         public ResourceViewpoint getViewPoint(ISessionContext sessionContext) {\r
35                 return ViewpointGenerator.createObjectStructureViewpoint();\r
36         }\r
37 }\r