+ <extension
+ point="org.simantics.ui.toolbarCommand">
+ <command
+ commandId="org.simantics.g3d.parallelperspective"
+ image="platform:/plugin/com.famfamfam.silk/icons/image.png"
+ name="Parallel perspective"
+ toolbarId="org.simantics.plant3d.toolbar"
+ type="toggle">
+ </command>
+ <command
+ commandId="org.simantics.g3d.viewdir"
+ image="platform:/plugin/org.simantics.plant3d/icons/x-axis.png"
+ name="View X+"
+ toolbarId="org.simantics.plant3d.toolbar"
+ type="push">
+ <parameter
+ name="org.simantics.g3d.viewDirection"
+ value="1,0,0">
+ </parameter>
+ </command>
+ <command
+ commandId="org.simantics.g3d.viewdir"
+ image="platform:/plugin/org.simantics.plant3d/icons/x-axis.png"
+ name="View X-"
+ toolbarId="org.simantics.plant3d.toolbar"
+ type="push">
+ <parameter
+ name="org.simantics.g3d.viewDirection"
+ value="-1,0,0">
+ </parameter>
+ </command>
+ <command
+ commandId="org.simantics.g3d.viewdir"
+ image="platform:/plugin/org.simantics.plant3d/icons/y-axis.png"
+ name="View Y+"
+ toolbarId="org.simantics.plant3d.toolbar"
+ type="push">
+ <parameter
+ name="org.simantics.g3d.viewDirection"
+ value="0,1,0">
+ </parameter>
+ </command>
+ <command
+ commandId="org.simantics.g3d.viewdir"
+ image="platform:/plugin/org.simantics.plant3d/icons/y-axis.png"
+ name="View Y-"
+ toolbarId="org.simantics.plant3d.toolbar"
+ type="push">
+ <parameter
+ name="org.simantics.g3d.viewDirection"
+ value="0,-1,0">
+ </parameter>
+ </command>
+ <command
+ commandId="org.simantics.g3d.viewdir"
+ image="platform:/plugin/org.simantics.plant3d/icons/z-axis.png"
+ name="View Z+"
+ toolbarId="org.simantics.plant3d.toolbar"
+ type="push">
+ <parameter
+ name="org.simantics.g3d.viewDirection"
+ value="0,0,1">
+ </parameter>
+ </command>
+ <command
+ commandId="org.simantics.g3d.viewdir"
+ image="platform:/plugin/org.simantics.plant3d/icons/z-axis.png"
+ name="View Z-"
+ toolbarId="org.simantics.plant3d.toolbar"
+ type="push">
+ <parameter
+ name="org.simantics.g3d.viewDirection"
+ value="0,0,-1">
+ </parameter>
+ </command>
+ </extension>