]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.proconf.g3d.shapeeditor/src/org/simantics/proconf/g3d/shapeeditor/views/StructureView.java
Moved 3D plug-ins to /3d/branches/dev.
[simantics/3d.git] / org.simantics.proconf.g3d.shapeeditor / src / org / simantics / proconf / g3d / shapeeditor / views / StructureView.java
diff --git a/org.simantics.proconf.g3d.shapeeditor/src/org/simantics/proconf/g3d/shapeeditor/views/StructureView.java b/org.simantics.proconf.g3d.shapeeditor/src/org/simantics/proconf/g3d/shapeeditor/views/StructureView.java
new file mode 100644 (file)
index 0000000..f747d49
--- /dev/null
@@ -0,0 +1,44 @@
+/*******************************************************************************\r
+ * Copyright (c) 2007 VTT Technical Research Centre of Finland and others.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ *     VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.proconf.g3d.shapeeditor.views;\r
+\r
+import org.simantics.db.management.ISessionContext;\r
+import org.simantics.layer0.utils.viewpoints.ResourceViewpoint;\r
+import org.simantics.proconf.browsing.views.GraphExplorerView;\r
+import org.simantics.proconf.g3d.shapeeditor.common.ViewpointGenerator;\r
+\r
+public class StructureView extends GraphExplorerView {\r
+\r
+    @Override\r
+    protected void contributeActions() {\r
+    }\r
+\r
+    @Override\r
+    protected ResourceViewpoint getViewpoint(ISessionContext context) {\r
+        return ViewpointGenerator.createStuctureViewpoint();\r
+    }\r
+\r
+    /*\r
+    @Override\r
+    public String getContributorId() {\r
+        return "fi.vtt.simantics.shapeeditor.pcid";\r
+    }\r
+\r
+    @Override\r
+    public Object getAdapter(Class adapter) {\r
+        if (adapter == IPropertySheetPage.class) {\r
+            return new TabbedPropertySheetPage(this);\r
+        }\r
+        return super.getAdapter(adapter);\r
+    }\r
+    */\r
+\r
+}\r