]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d/plugin.xml
Remove/Split action removes pipeline components without reconnecting
[simantics/3d.git] / org.simantics.g3d / plugin.xml
index 034ac76faf0fc29598918b00f4583662ddf57403..d423d3fba87e8720d557c9221dd49ba775d22668 100644 (file)
@@ -1,55 +1,79 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
-<?eclipse version="3.2"?>\r
+<?eclipse version="3.4"?>\r<!--\r
+    Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
+    Industry THTH ry.\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
+
 <plugin>\r
-   <extension-point id="geometry" name="Geometry" schema="schema/geometry.exsd"/>\r
-   <extension-point id="appearance" name="Appearance" schema="schema/appearance.exsd"/>\r
+   <extension-point id="toolbarCommand" name="toolbarCommand" schema="schema/toolbarCommand.exsd"/>\r
+   <extension\r
+         point="org.eclipse.ui.views">\r
+      <view\r
+            allowMultiple="false"\r
+            category="org.simantics.debug.ui"\r
+            class="org.simantics.g3d.ui.SceneGraphDebugger"\r
+            icon="platform:/plugin/com.famfamfam.silk/icons/car.png"\r
+            id="org.simantics.g3d.debug"\r
+            name="Scene-graph Debugger"\r
+            restorable="true">\r
+      </view>\r
+   </extension>\r
    <extension\r
          point="org.eclipse.ui.preferencePages">\r
       <page\r
-            category="org.simantics.proconf.preferences"\r
-            class="org.simantics.proconf.g3d.preferences.G3DPreferencesPage"\r
-            id="fi.vtt.simantics.g3d.page1"\r
-            name="3D Preferences">\r
+            class="org.simantics.g3d.preferences.G3DPreferencePage"\r
+            id="org.simantics.g3d.preferences.G3DPreferencePage"\r
+            name="3D Modelling Preferences">\r
       </page>\r
    </extension>\r
    <extension\r
          point="org.eclipse.core.runtime.preferences">\r
       <initializer\r
-            class="org.simantics.proconf.g3d.preferences.PreferenceInitializer">\r
+            class="org.simantics.g3d.preferences.PreferenceInitializer">\r
       </initializer>\r
    </extension>\r
    <extension\r
-         point="org.eclipse.ui.views">\r
-      <view\r
-            allowMultiple="false"\r
-            class="org.simantics.proconf.g3d.views.ScenegraphViewPart"\r
-            icon="icons/geometry.png"\r
-            id="org.simantics.g3d.views.scenegraph"\r
-            name="Scene-graph">\r
-      </view>\r
-      <view\r
-            allowMultiple="false"\r
-            class="org.simantics.proconf.g3d.views.AppearanceEditor"\r
-            icon="icons/geometry.png"\r
-            id="org.simantics.proconf.g3d.view1"\r
-            name="Appearance Editor">\r
-      </view>\r
-   </extension>\r
-   <extension\r
-         point="org.eclipse.core.expressions.propertyTesters">\r
-      <propertyTester\r
-            class="org.simantics.proconf.g3d.common.PropertyTester2"\r
-            id="org.simantics.proconf.editorToolTester"\r
-            namespace="org.simantics.proconf"\r
-            properties="editorTool"\r
-            type="org.eclipse.jface.viewers.IStructuredSelection">\r
-      </propertyTester>\r
-   </extension>\r
-   <extension\r
-         point="org.simantics.proconf.g3d.appearance">\r
-      <Appearance\r
-            class="org.simantics.proconf.g3d.base.DefaultAppearanceProvider"\r
-            id="org.simantics.proconf.g3d.Appearance1">\r
-      </Appearance>\r
+         point="org.eclipse.ui.commands">\r
+      <category\r
+            id="org.simantics.g3d.category"\r
+            name="3D Modelling Commands">\r
+      </category>\r
+      <command\r
+            categoryId="org.simantics.g3d.category"\r
+            id="org.simantics.g3d.parallelperspective"\r
+            name="Parallel perspective">\r
+         <state\r
+               id="org.eclipse.ui.commands.toggleState">\r
+            <class\r
+                  class="org.eclipse.ui.handlers.RegistryToggleState">\r
+               <parameter\r
+                     name="persisted"\r
+                     value="false">\r
+               </parameter>\r
+               <parameter\r
+                     name="default"\r
+                     value="false">\r
+               </parameter>\r
+            </class>\r
+         </state>\r
+      </command>\r
+      <command\r
+            categoryId="org.simantics.g3d.category"\r
+            id="org.simantics.g3d.viewdir"\r
+            name="View Dir">\r
+         <commandParameter\r
+               id="org.simantics.g3d.viewDirection"\r
+               name="direction"\r
+               optional="true">\r
+         </commandParameter>\r
+      </command>\r
    </extension>\r
+\r
 </plugin>\r