]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.g3d/plugin.xml
Use simantics.toolbar with Plant3D
[simantics/3d.git] / org.simantics.g3d / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>\r<!--
3     Copyright (c) 2012, 2013 Association for Decentralized Information Management in
4     Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the Eclipse Public License v1.0
7     which accompanies this distribution, and is available at
8     http://www.eclipse.org/legal/epl-v10.html
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13
14 <plugin>
15    <extension-point id="toolbarCommand" name="toolbarCommand" schema="schema/toolbarCommand.exsd"/>
16    <extension
17          point="org.eclipse.ui.views">
18       <view
19             allowMultiple="false"
20             category="org.simantics.debug.ui"
21             class="org.simantics.g3d.ui.SceneGraphDebugger"
22             icon="platform:/plugin/com.famfamfam.silk/icons/car.png"
23             id="org.simantics.g3d.debug"
24             name="Scene-graph Debugger"
25             restorable="true">
26       </view>
27    </extension>
28    <extension
29          point="org.eclipse.ui.preferencePages">
30       <page
31             class="org.simantics.g3d.preferences.G3DPreferencePage"
32             id="org.simantics.g3d.preferences.G3DPreferencePage"
33             name="3D Modelling Preferences">
34       </page>
35    </extension>
36    <extension
37          point="org.eclipse.core.runtime.preferences">
38       <initializer
39             class="org.simantics.g3d.preferences.PreferenceInitializer">
40       </initializer>
41    </extension>
42    <extension
43          point="org.eclipse.ui.commands">
44       <category
45             id="org.simantics.g3d.category"
46             name="3D Modelling Commands">
47       </category>
48       <command
49             categoryId="org.simantics.g3d.category"
50             id="org.simantics.g3d.parallelperspective"
51             name="Parallel perspective">
52          <state
53                id="org.eclipse.ui.commands.toggleState">
54             <class
55                   class="org.eclipse.ui.handlers.RegistryToggleState">
56                <parameter
57                      name="persisted"
58                      value="false">
59                </parameter>
60                <parameter
61                      name="default"
62                      value="false">
63                </parameter>
64             </class>
65          </state>
66       </command>
67       <command
68             categoryId="org.simantics.g3d.category"
69             id="org.simantics.g3d.viewdir"
70             name="View Direction">
71          <commandParameter
72                id="org.simantics.g3d.viewDirection"
73                name="direction"
74                optional="true">
75          </commandParameter>
76       </command>
77    </extension>
78
79 </plugin>