]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.desktop.ui/plugin.xml
Include org.simantics.jdbc.feature in SDK repository
[simantics/platform.git] / bundles / org.simantics.desktop.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin>
3
4    <extension
5          point="org.eclipse.ui.perspectives">
6       <perspective
7             name="Modelling"
8             fixed="false"
9             class="org.simantics.workbench.Perspective"
10             id="org.simantics.desktop.modelling.perspective">
11       </perspective>
12    </extension>
13    <extension
14          point="org.simantics.project.feature">
15       <feature
16             label="Desktop"
17             description="Desktop product project feature."
18             class="org.simantics.desktop.ui.internal.DesktopProjectFeature"
19             published="true"
20             id="org.simantics.desktop.ui">
21          <installGroup
22                version="[1.0.0,2.0.0)"
23                id="omnipresent">
24          </installGroup>
25       </feature>
26    </extension>
27    <extension
28          point="org.eclipse.ui.perspectiveExtensions">
29       <perspectiveExtension
30             targetID="org.simantics.desktop.modelling.perspective">
31          <view
32                minimized="true"
33                ratio="0.20"
34                relative="org.eclipse.ui.editorss"
35                closeable="true"
36                visible="true"
37                id="org.simantics.modeling.ui.browser"
38                relationship="left">
39          </view>
40          <view
41                minimized="false"
42                ratio="0.5"
43                relative="org.simantics.modeling.ui.browser"
44                closeable="true"
45                visible="true"
46                id="org.simantics.browsing.ui.graph.propertyView"
47                relationship="bottom">
48          </view>
49       </perspectiveExtension>
50    </extension>
51    <!--
52    <extension
53          point="org.eclipse.epp.mpc.ui.catalog">
54       <catalog
55             label="Simantics Marketplace"
56             url="http://dev.simantics.org:8070/marketplace/"
57             icon="icons/simantics32.png"
58             description="Marketplace for installing simulation components for Simantics.">
59       </catalog>
60    </extension>
61    -->
62    <extension
63          point="org.eclipse.ui.views">
64       <category
65             name="Modeling"
66             id="org.simantics.modeling.ui.category">
67       </category>
68       <view
69             name="Model Browser"
70             icon="platform:/plugin/com.famfamfam.silk/icons/chart_organisation.png"
71             category="org.simantics.modeling.category"
72             class="org.simantics.desktop.ui.internal.StandardModelledView:configurationURI=http://www.simantics.org/Modeling-1.2/PlainModelBrowser"
73             restorable="true"
74             id="org.simantics.modeling.ui.browser">
75       </view>
76    </extension>
77    <extension
78          point="org.simantics.ui.doubleClick">
79       <doubleClickAction
80             name="Modeled Double Click"
81             priority="1.0"
82             class="org.simantics.modeling.ui.actions.ModeledDoubleClickActions">
83       </doubleClickAction>
84    </extension>
85    <extension
86          point="org.eclipse.ui.menus">
87       <menuContribution
88             allPopups="false"
89             locationURI="menu:#FileNewMenu">
90          <dynamic
91                class="org.simantics.modeling.ui.actions.GlobalModeledActions:context=http://www.simantics.org/Project-1.2/ProjectFileMenuNewActionContext"
92                id="org.simantics.desktop.ui.fileMenuNew.modeledActions">
93          </dynamic>
94       </menuContribution>
95       <menuContribution
96             allPopups="false"
97             locationURI="menu:sFile">
98          <dynamic
99                class="org.simantics.modeling.ui.actions.GlobalModeledActions:context=http://www.simantics.org/Project-1.2/ProjectFileMenuActionContext"
100                id="org.simantics.desktop.ui.fileMenu.modeledActions">
101          </dynamic>
102       </menuContribution>
103       <menuContribution
104             locationURI="menu:edit">
105          <separator
106                name="edit.start"
107                visible="false">
108          </separator>
109          <command
110                commandId="org.eclipse.ui.edit.undo">
111          </command>
112          <command
113                commandId="org.eclipse.ui.edit.redo">
114          </command>
115          <separator
116                name="undo.ext"
117                visible="true">
118          </separator>
119          <command
120                commandId="org.eclipse.ui.edit.cut">
121          </command>
122          <command
123                commandId="org.eclipse.ui.edit.copy">
124          </command>
125          <command
126                commandId="org.eclipse.ui.edit.paste">
127          </command>
128          <separator
129                name="copy.ext"
130                visible="true">
131          </separator>
132          <command
133                commandId="org.eclipse.ui.edit.delete">
134          </command>
135          <command
136                commandId="org.eclipse.ui.edit.selectAll">
137          </command>
138          <separator
139                name="additions"
140                visible="false">
141          </separator>
142       </menuContribution>
143       <menuContribution
144             locationURI="popup:#ModelBrowserPopup">
145          <separator
146                name="new.begin"
147                visible="false">
148          </separator>
149          <separator
150                name="new.ext"
151                visible="false">
152          </separator>
153          <separator
154                name="new.end"
155                visible="true">
156          </separator>
157          <dynamic
158                class="org.simantics.modeling.ui.actions.ModeledActions"
159                id="org.simantics.desktop.ui.modeledActions">
160          </dynamic>
161          <dynamic
162                class="org.simantics.ui.contribution.OpenWithMenuContribution"
163                id="openWith">
164          </dynamic>
165          <command
166                commandId="org.simantics.browsing.ui.common.collapseAll"
167                label="Collapse All"
168                icon="platform:/plugin/org.simantics.browsing.ui.common/icons/collapseall.png"
169                style="push"
170                tooltip="Collapse All">
171          </command>
172          <command
173                commandId="org.simantics.browsing.ui.common.collapseSelected"
174                label="Collapse Selected"
175                icon="platform:/plugin/org.simantics.browsing.ui.common/icons/collapse.png"
176                style="push"
177                tooltip="Collapse Selected">
178             <visibleWhen
179                   checkEnabled="false">
180                <with
181                      variable="selection">
182                    <count
183                          value="(0-">
184                    </count>
185                </with>
186             </visibleWhen>
187          </command>
188       </menuContribution>
189    </extension>
190    <extension
191          id="org.simantics.desktop.ui.fragment"
192          point="org.eclipse.e4.workbench.model">
193       <fragment
194             uri="fragment.e4xmi">
195       </fragment>
196    </extension>
197
198 </plugin>