]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d.product/plugin.xml
Allow user to specify component name in ComponentSelectionDialog
[simantics/3d.git] / org.simantics.plant3d.product / plugin.xml
index c7215caf947ee3c84d911b29f5c569a41d9e5e41..490a25e192d8354b905a769f675f6d378e125d1f 100644 (file)
       </product>
    </extension>
 
+   <extension
+         point="org.simantics.project.feature">
+      <feature
+            class="org.simantics.plant3d.project.P3DProjectFeature"
+            id="org.simantics.plant3d.project.feature"
+            label="Plant3D Project"
+            published="true">
+         <installGroup
+               id="org.simantics.plant3d.installGroup"
+               version="[1.0.0,2.0.0)">
+         </installGroup>
+      </feature>
+   </extension>
+   <extension
+         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"
+            id="org.simantics.plant3d.ModelBrowser"
+            name="Model Browser"
+            restorable="true">
+      </view>
+   </extension>
+   <extension
+         point="org.eclipse.ui.perspectives">
+      <perspective
+            class="org.simantics.plant3d.project.P3DPerspectiveFactory"
+            icon="icons/factory.png"
+            id="org.simantics.plant3d.perspective"
+            name="Plant3D">
+      </perspective>
+   </extension>
+   <extension
+         point="org.eclipse.ui.perspectiveExtensions">
+      <perspectiveExtension
+            targetID="org.simantics.plant3d.perspective">
+         <view
+               id="org.simantics.plant3d.ModelBrowser"
+               minimized="false"
+               ratio="0.3"
+               relationship="left"
+               relative="org.eclipse.ui.editorss">
+         </view>
+         <view
+               id="org.simantics.browsing.ui.graph.propertyView"
+               minimized="false"
+               ratio="0.7"
+               relationship="bottom"
+               relative="org.eclipse.ui.editorss"
+               visible="true">
+         </view>
+         <view
+               id="org.simantics.browsing.ui.graph.propertyView:*"
+               minimized="false"
+               relationship="stack"
+               relative="org.simantics.browsing.ui.graph.propertyView"
+               visible="false">
+         </view>
+         <view
+               id="org.simantics.browsing.ui.graph.propertyViewPinned:*"
+               minimized="false"
+               relationship="stack"
+               relative="org.simantics.browsing.ui.graph.propertyView"
+               visible="false">
+         </view>
+         <view
+               id="org.eclipse.ui.views.ContentOutline"
+               minimized="false"
+               ratio="0.8"
+               relationship="right"
+               relative="org.eclipse.ui.editorss"
+               visible="true">
+         </view>
+      </perspectiveExtension>
+   </extension>
+   <extension
+         point="org.simantics.ui.perspectiveContextBinding">
+      <binding
+            contextIds="org.simantics.plant3d.context"
+            perspectiveId="org.simantics.plant3d.perspective">
+      </binding>
+   </extension>
+   <extension
+         point="org.eclipse.ui.menus">
+      <menuContribution
+            allPopups="false"
+            locationURI="menu:#FileNewMenu">
+         <command
+               commandId="org.simantics.plant3d.newPlant"
+               label="New Plant"
+               style="push">
+         </command>
+         <command
+               commandId="org.simantics.plant3d.newCSGModel"
+               label="New CSG Model"
+               style="push">
+         </command>
+      </menuContribution>
+   </extension>
 </plugin>