ref #6566 Migrate org.eclipse.ui.main.menu.window menu
[taxeditor.git] / eu.etaxonomy.taxeditor.application / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 id="application"
6 name="%extension.name"
7 point="org.eclipse.core.runtime.applications">
8 <application
9 cardinality="singleton-global"
10 thread="main"
11 visible="true">
12 <run
13 class="eu.etaxonomy.taxeditor.Application">
14 </run>
15 </application>
16 </extension>
17 <extension
18 point="org.eclipse.ui.perspectives">
19 <perspective
20 class="eu.etaxonomy.taxeditor.perspective.Taxonomic"
21 id="eu.etaxonomy.taxeditor.application.perspective.taxonomic"
22 name="%perspective.name">
23 </perspective>
24 <perspective
25 class="eu.etaxonomy.taxeditor.perspective.PolytomousKey"
26 id="eu.etaxonomy.taxeditor.application.perspective.polytomous"
27 name="%perspective.name.0">
28 </perspective>
29 <perspective
30 class="eu.etaxonomy.taxeditor.perspective.Uses"
31 id="eu.etaxonomy.taxeditor.application.perspective.uses"
32 name="%perspective.name.1">
33 </perspective>
34 <perspective
35 class="eu.etaxonomy.taxeditor.perspective.DerivatePerspective"
36 icon="icons/specimen_derivate-16x16-32.png"
37 id="eu.etaxonomy.taxeditor.application.perspective.derivates"
38 name="%perspective.name.2">
39 </perspective>
40 <perspective
41 class="eu.etaxonomy.taxeditor.perspective.ChecklistPerspective"
42 icon="icons/check.png"
43 id="eu.etaxonomy.taxeditor.perspective.checklistperspective"
44 name="%perspective.name.3">
45 </perspective>
46
47 </extension>
48 <!--extension
49 point="org.eclipse.ui.views">
50 <view
51 class="eu.etaxonomy.taxeditor.navigation.taxonomictree.TaxonomicTreeView"
52 id="eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView"
53 name="Taxonomic Tree">
54 </view>
55 <view
56 allowMultiple="true"
57 class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
58 id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
59 name="Search Result"
60 restorable="true">
61 </view>
62 </extension-->
63 <extension
64 point="org.eclipse.ui.menus">
65 <menuContribution
66 allPopups="false"
67 locationURI="menu:org.eclipse.ui.main.menu.admin">
68 <command
69 commandId="eu.etaxonomy.taxeditor.application.DatabaseSettings"
70 label="%command.label.23"
71 style="push">
72 <visibleWhen
73 checkEnabled="true">
74 <and>
75 <reference
76 definitionId="hasROLE_PROJECT_MANAGER">
77 </reference>
78 <reference
79 definitionId="isCdmStoreConnected">
80 </reference>
81 </and>
82 </visibleWhen>
83 </command>
84 <command
85 commandId="eu.etaxonomy.taxeditor.application.DatabaseRepairFunctionality"
86 label="%command.label.24"
87 style="push">
88 <visibleWhen
89 checkEnabled="true">
90 <and>
91 <reference
92 definitionId="hasROLE_PROJECT_MANAGER">
93 </reference>
94 <reference
95 definitionId="isCdmStoreConnected">
96 </reference>
97 </and>
98 </visibleWhen>
99 </command>
100 <dynamic
101 class="eu.etaxonomy.taxeditor.admin.UserGroupContributionItem"
102 id="eu.etaxonomy.taxeditor.admin.UserGroupContributionItem">
103 <visibleWhen
104 checkEnabled="true">
105 <and>
106 <reference
107 definitionId="hasROLE_PROJECT_MANAGER">
108 </reference>
109 <reference
110 definitionId="isCdmStoreConnected">
111 </reference>
112 </and>
113 </visibleWhen>
114 </dynamic>
115 </menuContribution>
116 <menuContribution
117 locationURI="menu:org.eclipse.ui.main.menu.help">
118 <command
119 commandId="org.eclipse.ui.help.helpContents"
120 label="%command.label.13"
121 style="push">
122 </command>
123 <command
124 commandId="org.eclipse.ui.help.helpSearch"
125 label="%command.label.14"
126 style="push">
127 </command>
128 <separator
129 name="eu.etaxonomy.taxeditor.ui.help.separator0"
130 visible="true">
131 </separator>
132 <command
133 commandId="org.eclipse.ui.help.dynamicHelp"
134 label="%command.label.15"
135 style="push">
136 </command>
137 <separator
138 name="eu.etaxonomy.taxeditor.ui.help.separator1"
139 visible="true">
140 </separator>
141 <command
142 commandId="eu.etaxonomy.taxeditor.update"
143 label="%command.label.17"
144 style="push">
145 </command>
146 <separator
147 name="eu.etaxonomy.taxeditor.ui.help.separator2"
148 visible="true">
149 </separator>
150 <command
151 commandId="org.eclipse.ui.help.aboutAction"
152 label="%command.label.19">
153 </command>
154 </menuContribution>
155 <menuContribution
156 locationURI="toolbar:org.eclipse.ui.main.toolbar">
157 <toolbar
158 id="eu.etaxonomy.taxeditor.editor.main">
159 <command
160 commandId="org.eclipse.ui.newWizard"
161 label="%command.label.21"
162 style="push">
163 </command>
164 <command
165 commandId="org.eclipse.ui.file.save"
166 label="%command.label.22"
167 style="push">
168 </command>
169 </toolbar>
170 </menuContribution>
171 </extension>
172 <extension
173 id="product"
174 point="org.eclipse.core.runtime.products">
175 <product
176 application="eu.etaxonomy.taxeditor.application.application"
177 name="%product.name">
178 <property
179 name="windowImages"
180 value="icons/256color_16x16.gif,icons/256color_32x32.gif,icons/256color_48x48.gif">
181 </property>
182 <property
183 name="aboutText"
184 value="%productBlurb">
185 </property>
186 <!--property
187 name="startupForegroundColor"
188 value="#C8D5EA"-->
189 <property
190 name="startupForegroundColor"
191 value="000000">
192 </property>
193 <property
194 name="startupProgressRect"
195 value="5,447,366,15">
196 </property>
197 <property
198 name="startupMessageRect"
199 value="7,432,360,20">
200 </property>
201 <property
202 name="appName"
203 value="EDIT Taxonomic Editor">
204 </property>
205 <property
206 name="preferenceCustomization"
207 value="plugin_customization.ini">
208 </property>
209 <property
210 name="aboutImage"
211 value="icons/256color_48x48.gif">
212 </property>
213 </product>
214 </extension>
215 <extension
216 point="org.eclipse.ui.commands">
217 <command
218 defaultHandler="eu.etaxonomy.taxeditor.update.UpdateHandler"
219 id="eu.etaxonomy.taxeditor.update"
220 name="%command.label.17">
221 </command>
222 <command
223 defaultHandler="eu.etaxonomy.taxeditor.update.InstallNewSoftwareHandler"
224 id="eu.etaxonomy.taxeditor.install"
225 name="%command.label.18">
226 </command>
227 </extension>
228
229
230 <extension
231 point="org.eclipse.ui.activities">
232 <activity
233 description="%activity.description"
234 id="eu.etaxonomy.taxeditor.disable"
235 name="%activity.name">
236 </activity>
237 <activityPatternBinding
238 activityId="eu.etaxonomy.taxeditor.disable"
239 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.project">
240 </activityPatternBinding>
241 <activityPatternBinding
242 activityId="eu.etaxonomy.taxeditor.disable"
243 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.file">
244 </activityPatternBinding>
245 <activityPatternBinding
246 activityId="eu.etaxonomy.taxeditor.disable"
247 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.folder">
248 </activityPatternBinding>
249 <activityPatternBinding
250 activityId="eu.etaxonomy.taxeditor.disable"
251 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.editors\.wizards\.UntitledTextFileWizard">
252 </activityPatternBinding>
253 <activityPatternBinding
254 activityId="eu.etaxonomy.taxeditor.disable"
255 pattern="org\.eclipse\..*externaltools.*">
256 </activityPatternBinding>
257 <activityPatternBinding
258 activityId="eu.etaxonomy.taxeditor.disable"
259 pattern="org\.eclipse\.debug.*">
260 </activityPatternBinding>
261 <activityPatternBinding
262 activityId="eu.etaxonomy.taxeditor.disable"
263 pattern="org\.eclipse\.team.*">
264 </activityPatternBinding>
265 <activityPatternBinding
266 activityId="eu.etaxonomy.taxeditor.disable"
267 pattern="org\.eclipse\.ant.*">
268 </activityPatternBinding>
269 <activityPatternBinding
270 activityId="eu.etaxonomy.taxeditor.disable"
271 pattern="org\.eclipse\.pde.*">
272 </activityPatternBinding>
273 <activityPatternBinding
274 activityId="eu.etaxonomy.taxeditor.disable"
275 pattern="org\.eclipse\.jdt.*">
276 </activityPatternBinding>
277 <activityPatternBinding
278 activityId="eu.etaxonomy.taxeditor.disable"
279 pattern="org\.eclipse\.search.*">
280 </activityPatternBinding>
281 </extension>
282 <extension
283 id="eu_etaxonomy_taxeditor_product"
284 point="org.eclipse.core.runtime.products">
285 <product
286 application="eu.etaxonomy.taxeditor.application.application"
287 name="EDIT Taxonomic Editor">
288 <property
289 name="appName"
290 value="EDIT Taxonomic Editor">
291 </property>
292 <property
293 name="aboutImage"
294 value="icons/256color_48x48.gif">
295 </property>
296 <property
297 name="aboutText"
298 value="%productBlurb">
299 </property>
300 <property
301 name="windowImages"
302 value="icons/256color_16x16.gif,icons/256color_32x32.gif,icons/256color_48x48.gif">
303 </property>
304 <property
305 name="startupForegroundColor"
306 value="000000">
307 </property>
308 <property
309 name="startupMessageRect"
310 value="7,432,360,20">
311 </property>
312 <property
313 name="startupProgressRect"
314 value="5,447,366,15">
315 </property>
316 <property
317 name="preferenceCustomization"
318 value="plugin_customization.ini">
319 </property>
320 </product>
321 </extension>
322 <extension
323 id="org.eclipse.e4.legacy.ide.application"
324 point="org.eclipse.e4.workbench.model">
325 <fragment
326 apply="always"
327 uri="fragment.e4xmi">
328 </fragment>
329 </extension>
330
331 </plugin>