]> gerrit.simantics Code Review - simantics/3d.git/blob - plugin.xml
490a25e192d8354b905a769f675f6d378e125d1f
[simantics/3d.git] / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4    <extension
5          id="product"
6          point="org.eclipse.core.runtime.products">
7       <product
8             application="org.simantics.workbench.application"
9             name="Simantics Plant3D">
10          <property
11                name="appName"
12                value="Simantics Plant3D">
13          </property>
14          <property
15                name="aboutText"
16                value="Simantics Plant3D">
17          </property>
18       </product>
19    </extension>
20
21    <extension
22          point="org.simantics.project.feature">
23       <feature
24             class="org.simantics.plant3d.project.P3DProjectFeature"
25             id="org.simantics.plant3d.project.feature"
26             label="Plant3D Project"
27             published="true">
28          <installGroup
29                id="org.simantics.plant3d.installGroup"
30                version="[1.0.0,2.0.0)">
31          </installGroup>
32       </feature>
33    </extension>
34    <extension
35          point="org.eclipse.ui.views">
36       <view
37             class="org.simantics.plant3d.browser.P3DBrowser:browseContext=http://www.simantics.org/CSG-0.1/CSGBrowseContext;browseContext=http://www.simantics.org/Plant3D-0.1/P3DBrowseContext"
38             icon="icons/factory.png"
39             id="org.simantics.plant3d.ModelBrowser"
40             name="Model Browser"
41             restorable="true">
42       </view>
43    </extension>
44    <extension
45          point="org.eclipse.ui.perspectives">
46       <perspective
47             class="org.simantics.plant3d.project.P3DPerspectiveFactory"
48             icon="icons/factory.png"
49             id="org.simantics.plant3d.perspective"
50             name="Plant3D">
51       </perspective>
52    </extension>
53    <extension
54          point="org.eclipse.ui.perspectiveExtensions">
55       <perspectiveExtension
56             targetID="org.simantics.plant3d.perspective">
57          <view
58                id="org.simantics.plant3d.ModelBrowser"
59                minimized="false"
60                ratio="0.3"
61                relationship="left"
62                relative="org.eclipse.ui.editorss">
63          </view>
64          <view
65                id="org.simantics.browsing.ui.graph.propertyView"
66                minimized="false"
67                ratio="0.7"
68                relationship="bottom"
69                relative="org.eclipse.ui.editorss"
70                visible="true">
71          </view>
72          <view
73                id="org.simantics.browsing.ui.graph.propertyView:*"
74                minimized="false"
75                relationship="stack"
76                relative="org.simantics.browsing.ui.graph.propertyView"
77                visible="false">
78          </view>
79          <view
80                id="org.simantics.browsing.ui.graph.propertyViewPinned:*"
81                minimized="false"
82                relationship="stack"
83                relative="org.simantics.browsing.ui.graph.propertyView"
84                visible="false">
85          </view>
86          <view
87                id="org.eclipse.ui.views.ContentOutline"
88                minimized="false"
89                ratio="0.8"
90                relationship="right"
91                relative="org.eclipse.ui.editorss"
92                visible="true">
93          </view>
94       </perspectiveExtension>
95    </extension>
96    <extension
97          point="org.simantics.ui.perspectiveContextBinding">
98       <binding
99             contextIds="org.simantics.plant3d.context"
100             perspectiveId="org.simantics.plant3d.perspective">
101       </binding>
102    </extension>
103    <extension
104          point="org.eclipse.ui.menus">
105       <menuContribution
106             allPopups="false"
107             locationURI="menu:#FileNewMenu">
108          <command
109                commandId="org.simantics.plant3d.newPlant"
110                label="New Plant"
111                style="push">
112          </command>
113          <command
114                commandId="org.simantics.plant3d.newCSGModel"
115                label="New CSG Model"
116                style="push">
117          </command>
118       </menuContribution>
119    </extension>
120 </plugin>