]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d.product/plugin.xml
Move global UI bindings to the product plugin
[simantics/3d.git] / org.simantics.plant3d.product / plugin.xml
index 490a25e192d8354b905a769f675f6d378e125d1f..cde18becec6fd6cc1dfb293b79a84f3ffa07ba76 100644 (file)
          </property>
       </product>
    </extension>
-
+   <extension
+         point="org.simantics.ui.resourceEditorAdapter">
+      <adapter
+            editorId="org.simantics.plant3d.editor"
+            groupId="org.simantics.plant3dEditor.group"
+            image="platform:/plugin/org.simantics.plant3d/icons/factory.png"
+            label="Plant3D Editor"
+            priority="1"
+            type_uris="http://www.simantics.org/Plant3D-0.1/Plant">
+      </adapter>
+   </extension>
    <extension
          point="org.simantics.project.feature">
       <feature
@@ -35,7 +45,7 @@
          point="org.eclipse.ui.views">
       <view
             class="org.simantics.plant3d.browser.P3DBrowser:browseContext=http://www.simantics.org/CSG-0.1/CSGBrowseContext;browseContext=http://www.simantics.org/Plant3D-0.1/P3DBrowseContext"
-            icon="icons/factory.png"
+            icon="platform:/plugin/org.simantics.plant3d/icons/factory.png"
             id="org.simantics.plant3d.ModelBrowser"
             name="Model Browser"
             restorable="true">
@@ -45,7 +55,7 @@
          point="org.eclipse.ui.perspectives">
       <perspective
             class="org.simantics.plant3d.project.P3DPerspectiveFactory"
-            icon="icons/factory.png"
+            icon="platform:/plugin/org.simantics.plant3d/icons/factory.png"
             id="org.simantics.plant3d.perspective"
             name="Plant3D">
       </perspective>