- 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