1d0add28cdfca87ebaf46b1500cb6db4acf3c98c
[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 locationURI="menu:org.eclipse.ui.main.menu.window">
67 <separator
68 name="eu.etaxonomy.taxeditor.application.windowMenu.last"
69 visible="true">
70 </separator>
71 <command
72 commandId="org.eclipse.ui.window.preferences"
73 label="%command.label.12"
74 style="push">
75 </command>
76 </menuContribution>
77 <menuContribution
78 allPopups="false"
79 locationURI="menu:org.eclipse.ui.main.menu.admin">
80 <command
81 commandId="eu.etaxonomy.taxeditor.application.DatabaseSettings"
82 label="%command.label.23"
83 style="push">
84 <visibleWhen
85 checkEnabled="true">
86 <and>
87 <reference
88 definitionId="hasROLE_PROJECT_MANAGER">
89 </reference>
90 <reference
91 definitionId="isCdmStoreConnected">
92 </reference>
93 </and>
94 </visibleWhen>
95 </command>
96 <command
97 commandId="eu.etaxonomy.taxeditor.application.DatabaseRepairFunctionality"
98 label="%command.label.24"
99 style="push">
100 <visibleWhen
101 checkEnabled="true">
102 <and>
103 <reference
104 definitionId="hasROLE_PROJECT_MANAGER">
105 </reference>
106 <reference
107 definitionId="isCdmStoreConnected">
108 </reference>
109 </and>
110 </visibleWhen>
111 </command>
112 <dynamic
113 class="eu.etaxonomy.taxeditor.admin.UserGroupContributionItem"
114 id="eu.etaxonomy.taxeditor.admin.UserGroupContributionItem">
115 <visibleWhen
116 checkEnabled="true">
117 <and>
118 <reference
119 definitionId="hasROLE_PROJECT_MANAGER">
120 </reference>
121 <reference
122 definitionId="isCdmStoreConnected">
123 </reference>
124 </and>
125 </visibleWhen>
126 </dynamic>
127 </menuContribution>
128 <menuContribution
129 locationURI="menu:org.eclipse.ui.main.menu.help">
130 <command
131 commandId="org.eclipse.ui.help.helpContents"
132 label="%command.label.13"
133 style="push">
134 </command>
135 <command
136 commandId="org.eclipse.ui.help.helpSearch"
137 label="%command.label.14"
138 style="push">
139 </command>
140 <separator
141 name="eu.etaxonomy.taxeditor.ui.help.separator0"
142 visible="true">
143 </separator>
144 <command
145 commandId="org.eclipse.ui.help.dynamicHelp"
146 label="%command.label.15"
147 style="push">
148 </command>
149 <separator
150 name="eu.etaxonomy.taxeditor.ui.help.separator1"
151 visible="true">
152 </separator>
153 <!--command
154 commandId="eu.etaxonomy.taxeditor.install"
155 label="%command.label.18"
156 style="push"/-->
157 <command
158 commandId="eu.etaxonomy.taxeditor.update"
159 label="%command.label.17"
160 style="push"/>
161 <separator
162 name="eu.etaxonomy.taxeditor.ui.help.separator2"
163 visible="true">
164 </separator>
165 <command
166 commandId="org.eclipse.ui.help.aboutAction"
167 label="%command.label.19">
168 </command>
169 </menuContribution>
170 <menuContribution
171 locationURI="toolbar:org.eclipse.ui.main.toolbar">
172 <toolbar
173 id="eu.etaxonomy.taxeditor.editor.main">
174 <command
175 commandId="org.eclipse.ui.newWizard"
176 label="%command.label.21"
177 style="push">
178 </command>
179 <command
180 commandId="org.eclipse.ui.file.save"
181 label="%command.label.22"
182 style="push">
183 </command>
184 </toolbar>
185 </menuContribution>
186 </extension>
187 <extension
188 id="product"
189 point="org.eclipse.core.runtime.products">
190 <product
191 application="eu.etaxonomy.taxeditor.application.application"
192 name="%product.name">
193 <property
194 name="windowImages"
195 value="icons/256color_16x16.gif,icons/256color_32x32.gif,icons/256color_48x48.gif">
196 </property>
197 <property
198 name="aboutText"
199 value="%productBlurb">
200 </property>
201 <!--property
202 name="startupForegroundColor"
203 value="#C8D5EA"-->
204 <property
205 name="startupForegroundColor"
206 value="000000">
207 </property>
208 <property
209 name="startupProgressRect"
210 value="5,447,366,15">
211 </property>
212 <property
213 name="startupMessageRect"
214 value="7,432,360,20">
215 </property>
216 <property
217 name="appName"
218 value="EDIT Taxonomic Editor">
219 </property>
220 <property
221 name="preferenceCustomization"
222 value="plugin_customization.ini">
223 </property>
224 <property
225 name="aboutImage"
226 value="icons/256color_48x48.gif">
227 </property>
228 </product>
229 </extension>
230 <extension
231 point="org.eclipse.ui.commands">
232 <command
233 defaultHandler="eu.etaxonomy.taxeditor.update.UpdateHandler"
234 id="eu.etaxonomy.taxeditor.update"
235 name="%command.label.17">
236 </command>
237 <command
238 defaultHandler="eu.etaxonomy.taxeditor.update.InstallNewSoftwareHandler"
239 id="eu.etaxonomy.taxeditor.install"
240 name="%command.label.18">
241 </command>
242 </extension>
243
244
245 <extension
246 point="org.eclipse.ui.activities">
247 <activity
248 description="%activity.description"
249 id="eu.etaxonomy.taxeditor.disable"
250 name="%activity.name">
251 </activity>
252 <activityPatternBinding
253 activityId="eu.etaxonomy.taxeditor.disable"
254 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.project">
255 </activityPatternBinding>
256 <activityPatternBinding
257 activityId="eu.etaxonomy.taxeditor.disable"
258 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.file">
259 </activityPatternBinding>
260 <activityPatternBinding
261 activityId="eu.etaxonomy.taxeditor.disable"
262 pattern="org\.eclipse\.ui\.ide/org\.eclipse\.ui\.wizards\.new\.folder">
263 </activityPatternBinding>
264 <activityPatternBinding
265 activityId="eu.etaxonomy.taxeditor.disable"
266 pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.editors\.wizards\.UntitledTextFileWizard">
267 </activityPatternBinding>
268 <activityPatternBinding
269 activityId="eu.etaxonomy.taxeditor.disable"
270 pattern="org\.eclipse\..*externaltools.*">
271 </activityPatternBinding>
272 <activityPatternBinding
273 activityId="eu.etaxonomy.taxeditor.disable"
274 pattern="org\.eclipse\.debug.*">
275 </activityPatternBinding>
276 <activityPatternBinding
277 activityId="eu.etaxonomy.taxeditor.disable"
278 pattern="org\.eclipse\.team.*">
279 </activityPatternBinding>
280 <activityPatternBinding
281 activityId="eu.etaxonomy.taxeditor.disable"
282 pattern="org\.eclipse\.ant.*">
283 </activityPatternBinding>
284 <activityPatternBinding
285 activityId="eu.etaxonomy.taxeditor.disable"
286 pattern="org\.eclipse\.pde.*">
287 </activityPatternBinding>
288 <activityPatternBinding
289 activityId="eu.etaxonomy.taxeditor.disable"
290 pattern="org\.eclipse\.jdt.*">
291 </activityPatternBinding>
292 <activityPatternBinding
293 activityId="eu.etaxonomy.taxeditor.disable"
294 pattern="org\.eclipse\.search.*">
295 </activityPatternBinding>
296 </extension>
297 <extension
298 id="eu_etaxonomy_taxeditor_product"
299 point="org.eclipse.core.runtime.products">
300 <product
301 application="eu.etaxonomy.taxeditor.application.application"
302 name="EDIT Taxonomic Editor">
303 <property
304 name="appName"
305 value="EDIT Taxonomic Editor">
306 </property>
307 <property
308 name="aboutImage"
309 value="icons/256color_48x48.gif">
310 </property>
311 <property
312 name="aboutText"
313 value="%productBlurb">
314 </property>
315 <property
316 name="windowImages"
317 value="icons/256color_16x16.gif,icons/256color_32x32.gif,icons/256color_48x48.gif">
318 </property>
319 <property
320 name="startupForegroundColor"
321 value="000000">
322 </property>
323 <property
324 name="startupMessageRect"
325 value="7,432,360,20">
326 </property>
327 <property
328 name="startupProgressRect"
329 value="5,447,366,15">
330 </property>
331 <property
332 name="preferenceCustomization"
333 value="plugin_customization.ini">
334 </property>
335 </product>
336 </extension>
337 <extension
338 id="org.eclipse.e4.legacy.ide.application"
339 point="org.eclipse.e4.workbench.model">
340 <fragment
341 apply="always"
342 uri="fragment.e4xmi">
343 </fragment>
344 </extension>
345
346 </plugin>