(no commit message)
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 point="org.eclipse.ui.preferencePages">
6 <page
7 class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
8 id="eu.etaxonomy.taxeditor.preferences.general"
9 name="%page.name">
10 </page>
11 <page
12 category="eu.etaxonomy.taxeditor.preferences.general"
13 class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
14 id="eu.etaxonomy.taxeditor.preferences.description"
15 name="%page.name.0">
16 </page>
17 <page
18 category="eu.etaxonomy.taxeditor.preferences.description"
19 class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
20 id="eu.etaxonomy.taxeditor.preferences.feature"
21 name="%page.name.1">
22 </page>
23 <page
24 category="eu.etaxonomy.taxeditor.preferences.description"
25 class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
26 id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
27 name="%page.name.2">
28 </page>
29 <page
30 category="eu.etaxonomy.taxeditor.preferences.general"
31 class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
32 id="eu.etaxonomy.taxeditor.preferences.taxonomic"
33 name="%page.name.3">
34 </page>
35 <page
36 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
37 class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
38 id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
39 name="%page.name.4">
40 </page>
41 <!--page
42 class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
43 id="eu.etaxonomy.taxeditor.preferences.cdm"
44 name="CDM Datastore">
45 </page>
46 <page
47 category="eu.etaxonomy.taxeditor.preferences.cdm"
48 class="eu.etaxonomy.taxeditor.store.preference.InitializeDbPreferences"
49 id="eu.etaxonomy.taxeditor.preferences.initdb"
50 name="Initialize Datastore">
51 </page-->
52 <page
53 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
54 class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
55 id="eu.etaxonomy.taxeditor.preferences.ranks"
56 name="%page.name.5">
57 </page>
58 <page
59 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
60 class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
61 id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
62 name="%page.name.6">
63 </page>
64 <page
65 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
66 class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
67 id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
68 name="%page.name.7">
69 </page>
70 <page
71 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
72 class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
73 id="taxeditor-store.page1"
74 name="%page.name.8">
75 </page>
76 <page
77 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
78 class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
79 id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
80 name="%page.name.9">
81 </page>
82 <page
83 category="eu.etaxonomy.taxeditor.preferences.language"
84 class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
85 id="eu.etaxonomy.taxeditor.preferences.languages"
86 name="%page.name.10">
87 </page>
88 <page
89 category="eu.etaxonomy.taxeditor.preferences.general"
90 class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
91 id="eu.etaxonomy.taxeditor.preferences.markerTypes"
92 name="%page.name.11">
93 </page>
94 <page
95 category="eu.etaxonomy.taxeditor.preferences.general"
96 class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
97 id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
98 name="%page.name.12">
99 </page>
100 <page
101 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
102 class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
103 id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
104 name="%page.name.13">
105 </page>
106 <page
107 category="eu.etaxonomy.taxeditor.preferences.description"
108 class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
109 id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
110 name="%page.name.14">
111 </page>
112 <page
113 category="eu.etaxonomy.taxeditor.preferences.general"
114 class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
115 id="eu.etaxonomy.taxeditor.preferences.matching"
116 name="%page.name.15">
117 </page>
118 <page
119 category="eu.etaxonomy.taxeditor.preferences.matching"
120 class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
121 id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
122 name="%page.name.16">
123 </page>
124 <page
125 category="eu.etaxonomy.taxeditor.preferences.matching"
126 class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
127 id="eu.etaxonomy.taxeditor.preferences.matching"
128 name="%page.name.17">
129 </page>
130 <page
131 category="eu.etaxonomy.taxeditor.preferences.matching"
132 class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
133 id="eu.etaxonomy.taxeditor.preferences.matching"
134 name="%page.name.18">
135 </page>
136 <page
137 category="eu.etaxonomy.taxeditor.preferences.description"
138 class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
139 id="eu.etaxonomy.taxeditor.preferences.stage"
140 name="%page.name.19">
141 </page>
142 <page
143 category="eu.etaxonomy.taxeditor.preferences.description"
144 class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
145 id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
146 name="%page.name.20">
147 </page>
148 <page
149 category="eu.etaxonomy.taxeditor.preferences.feature"
150 class="eu.etaxonomy.taxeditor.preference.FeatureTreePreferences"
151 id="eu.etaxonomy.taxeditor.preferences.featureTree"
152 name="%page.name.21">
153 </page>
154 <page
155 category="eu.etaxonomy.taxeditor.preferences.feature"
156 class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
157 id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
158 name="%page.name.22">
159 </page>
160 <page
161 category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
162 class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
163 id="eu.etaxonomy.taxeditor.preferences.language"
164 name="%page.name.23">
165 </page>
166 <page
167 category="eu.etaxonomy.taxeditor.preferences.general"
168 class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
169 id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
170 name="%page.name.24">
171 </page>
172 <page
173 category="eu.etaxonomy.taxeditor.preferences.general"
174 class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
175 id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
176 name="%page.name.25">
177 </page>
178 <page
179 category="eu.etaxonomy.taxeditor.preferences.general"
180 class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
181 id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
182 name="%page.name.26">
183 </page>
184 <page
185 category="eu.etaxonomy.taxeditor.preferences.general"
186 class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
187 id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
188 name="%page.name.27">
189 </page>
190 <page
191 category="eu.etaxonomy.taxeditor.preferences.general"
192 class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
193 id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
194 name="%page.name.28">
195 </page>
196 <page
197 category="eu.etaxonomy.taxeditor.preferences.general"
198 class="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
199 id="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
200 name="%page.name.29">
201 </page>
202 <page
203 category="eu.etaxonomy.taxeditor.preferences.general"
204 class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
205 id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
206 name="%page.name.30">
207 </page>
208 </extension>
209 <extension
210 point="org.eclipse.ui.views">
211 <view
212 class="eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart"
213 icon="icons/system-file-manager.png"
214 id="eu.etaxonomy.taxeditor.view.datasource"
215 name="%view.name"
216 restorable="true">
217 </view>
218 <view
219 name="%view.name.0"
220 category="org.eclipse.ui"
221 class="org.eclipse.ui.ExtensionFactory:progressView"
222 id="org.eclipse.ui.views.ProgressView">
223 </view>
224 <view
225 name="%view.name.1"
226 icon="icons/console.gif"
227 category="org.eclipse.ui"
228 class="org.eclipse.ui.ExtensionFactory:logView"
229 id="org.eclipse.ui.views.LogView">
230 </view>
231 <view
232 class="eu.etaxonomy.taxeditor.view.reporting.ReportingViewPart"
233 id="eu.etaxonomy.taxeditor.reporting.viewPart"
234 name="%view.name.2"
235 restorable="true">
236 </view>
237 <view
238 allowMultiple="false"
239 class="eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart"
240 icon="icons/applications-office.png"
241 id="eu.etaxonomy.taxeditor.view.supplementalData"
242 name="%view.name.3"
243 restorable="true">
244 </view>
245 <view
246 allowMultiple="false"
247 class="eu.etaxonomy.taxeditor.view.detail.DetailsViewPart"
248 icon="icons/accessories-text-editor.png"
249 id="eu.etaxonomy.taxeditor.view.detail"
250 name="%view.name.4"
251 restorable="true">
252 </view>
253 <view
254 class="eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart"
255 icon="icons/leaf_detail.png"
256 id="eu.etaxonomy.taxeditor.view.userecords"
257 name="%view.name.5"
258 restorable="true">
259 </view>
260 <view
261 class="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
262 icon="icons/derivate_search_view-16x16-32.png"
263 id="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
264 name="%view.name.6"
265 restorable="true">
266 </view>
267 <view
268 allowMultiple="false"
269 class="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
270 id="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
271 name="Sessions"
272 restorable="false">
273 </view>
274 </extension>
275 <extension
276 point="org.eclipse.ui.editors">
277 <editor
278 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
279 default="false"
280 id="eu.etaxonomy.taxeditor.editor.definedTerm"
281 name="%editor.name">
282 </editor>
283 </extension>
284 <extension
285 point="org.eclipse.ui.menus">
286 <menuContribution
287 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
288 <menu
289 id="eu.etaxonomy.taxeditor.menu.showView"
290 label="%menu.label">
291 <command
292 commandId="org.eclipse.ui.views.showView"
293 label="%command.label"
294 style="push">
295 <parameter
296 name="org.eclipse.ui.views.showView.viewId"
297 value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
298 </parameter>
299 </command>
300 <separator
301 name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
302 visible="true">
303 </separator>
304 <command
305 commandId="org.eclipse.ui.views.showView"
306 label="%command.label.0"
307 style="push">
308 <parameter
309 name="org.eclipse.ui.views.showView.viewId"
310 value="eu.etaxonomy.taxeditor.view.detail">
311 </parameter>
312 </command>
313 <command
314 commandId="org.eclipse.ui.views.showView"
315 id="org.eclipse.ui.views.showView.supplemental"
316 label="%command.label.1"
317 style="push">
318 <parameter
319 name="org.eclipse.ui.views.showView.viewId"
320 value="eu.etaxonomy.taxeditor.view.supplementalData">
321 </parameter>
322 </command>
323 <!-- Originally used by validation framework, currently not in use -->
324 <!-- <command
325 id="org.eclipse.ui.views.showView.problems"
326 commandId="org.eclipse.ui.views.showView"
327 label="Problems"
328 style="push">
329 <parameter
330 name="org.eclipse.ui.views.showView.viewId"
331 value="org.eclipse.ui.views.ProblemView">
332 </parameter>
333 </command> -->
334 <separator
335 name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
336 visible="true">
337 </separator>
338 <command
339 commandId="org.eclipse.ui.views.showView"
340 label="%command.label.2"
341 style="push">
342 <parameter
343 name="org.eclipse.ui.views.showView.viewId"
344 value="eu.etaxonomy.taxeditor.view.datasource">
345 </parameter>
346 </command>
347 <command
348 commandId="org.eclipse.ui.views.showView"
349 label="%command.label.3"
350 style="push">
351 <parameter
352 name="org.eclipse.ui.views.showView.viewId"
353 value="org.eclipse.pde.runtime.LogView">
354 </parameter>
355 </command>
356 <command
357 commandId="org.eclipse.ui.views.showView"
358 label="%command.label.4"
359 style="push">
360 <parameter
361 name="org.eclipse.ui.views.showView.viewId"
362 value="eu.etaxonomy.taxeditor.reporting.viewPart">
363 </parameter>
364 <visibleWhen
365 checkEnabled="true">
366 <reference
367 definitionId="isShowExperimentalFeatures">
368 </reference>
369 </visibleWhen>
370 </command>
371 <command
372 commandId="org.eclipse.ui.views.showView"
373 label="Sessions"
374 style="push">
375 <parameter
376 name="org.eclipse.ui.views.showView.viewId"
377 value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
378 </parameter>
379 </command>
380 </menu>
381 </menuContribution>
382 <menuContribution
383 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
384 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
385 </menuContribution>
386 <menuContribution
387 locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
388 <command
389 commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
390 label="%command.label.5"
391 style="push">
392 </command>
393 <separator
394 name="eu.etaxonomy.taxeditor.application.filemenu.login"
395 visible="true">
396 </separator>
397 </menuContribution>
398 <menuContribution
399 locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
400 <command
401 commandId="eu.etaxonomy.taxeditor.store.datasource.change"
402 label="%command.label.6"
403 style="push">
404 <visibleWhen>
405 <with
406 variable="selection">
407 <not>
408 <test
409 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
410 </test>
411 </not>
412 </with>
413 </visibleWhen>
414 </command>
415 <command
416 commandId="eu.etaxonomy.taxeditor.store.datasource.create"
417 label="%command.label.7"
418 style="push">
419 </command>
420 <command
421 commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
422 label="%command.label.8"
423 style="push">
424 <visibleWhen>
425 <with
426 variable="selection">
427 <not>
428 <test
429 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
430 </test>
431 </not>
432 </with>
433 </visibleWhen>
434 </command>
435 <command
436 commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
437 label="Clone"
438 style="push">
439 <visibleWhen>
440 <with
441 variable="selection">
442 <not>
443 <test
444 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
445 </test>
446 </not>
447 </with>
448 </visibleWhen>
449 </command>
450 <separator
451 name="eu.etaxonomy.taxeditor.store.datasource.separator"
452 visible="true">
453 </separator>
454 <command
455 commandId="org.eclipse.ui.edit.delete"
456 label="%command.label.9"
457 style="push">
458 <visibleWhen>
459 <with
460 variable="selection">
461 <not>
462 <test
463 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
464 </test>
465 </not>
466 </with>
467 </visibleWhen>
468 </command>
469 <separator
470 name="eu.etaxonomy.taxeditor.store.datasource.separator2"
471 visible="true">
472 </separator>
473 <command
474 commandId="eu.etaxonomy.taxeditor.store.datasource.close"
475 label="%command.label.10"
476 style="push">
477 <visibleWhen>
478 <with
479 variable="selection">
480 <not>
481 <test
482 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
483 </test>
484 </not>
485 </with>
486 </visibleWhen>
487 </command>
488 <command
489 commandId="eu.etaxonomy.taxeditor.store.datasource.update"
490 label="%command.label.11"
491 style="push">
492 <visibleWhen
493 checkEnabled="true">
494 <not>
495 <reference
496 definitionId="isCompatible">
497 </reference>
498 </not>
499 </visibleWhen>
500
501 </command>
502 </menuContribution>
503 <menuContribution
504 locationURI="toolbar:org.eclipse.ui.trim.status">
505 <toolbar
506 id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
507 <control
508 class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
509 </control>
510 </toolbar>
511 </menuContribution>
512 <menuContribution
513 locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
514 <menu
515 label="%menu.label.0">
516 <command
517 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
518 label="%command.label.12"
519 style="push">
520 </command>
521 <command
522 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
523 label="%command.label.13"
524 style="push">
525 <visibleWhen
526 checkEnabled="true">
527 <reference
528 definitionId="isModifiable">
529 </reference>
530 </visibleWhen>
531 </command>
532 </menu>
533 <command
534 commandId="org.eclipse.ui.edit.delete"
535 label="%command.label.14"
536 style="push">
537 <visibleWhen
538 checkEnabled="true">
539 <reference
540 definitionId="isModifiable">
541 </reference>
542 </visibleWhen>
543 </command>
544 </menuContribution>
545 <menuContribution
546 allPopups="false"
547 locationURI="popup:eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
548 <command
549 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
550 label="Open in Derivate Editor"
551 style="push">
552 <visibleWhen
553 checkEnabled="true">
554 <with
555 variable="selection">
556 <count
557 value="+">
558 </count>
559 </with>
560 </visibleWhen>
561 </command>
562 </menuContribution>
563 </extension>
564 <extension
565 point="org.eclipse.ui.handlers">
566 <handler
567 class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
568 commandId="org.eclipse.ui.edit.delete">
569 <activeWhen>
570 <with
571 variable="activePartId">
572 <equals
573 value="eu.etaxonomy.taxeditor.view.datasource">
574 </equals>
575 </with>
576 </activeWhen>
577 </handler>
578 <handler
579 class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
580 commandId="org.eclipse.ui.edit.delete">
581 <activeWhen>
582 <with
583 variable="activePartId">
584 <equals
585 value="eu.etaxonomy.taxeditor.editor.definedTerm">
586 </equals>
587 </with>
588 </activeWhen>
589 </handler>
590 <handler
591 class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
592 commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
593 <activeWhen>
594 <reference
595 definitionId="hasROLE_PROJECT_MANAGER">
596 </reference>
597 </activeWhen>
598 </handler>
599 <handler
600 class="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
601 commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
602 <enabledWhen>
603 <reference
604 definitionId="isUserLoggedIn">
605 </reference></enabledWhen>
606 </handler>
607 <handler
608 class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
609 commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
610 <enabledWhen>
611 <reference
612 definitionId="isUserLoggedIn">
613 </reference></enabledWhen>
614 </handler>
615 <handler
616 class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
617 commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
618 <activeWhen>
619 <reference
620 definitionId="hasROLE_PROJECT_MANAGER">
621 </reference>
622 </activeWhen>
623 </handler>
624 </extension>
625 <extension
626 name="Popup Menu Commands"
627 point="org.eclipse.ui.commands">
628 <command
629 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
630 id="eu.etaxonomy.taxeditor.store.datasource.change"
631 name="%command.name">
632 </command>
633 <command
634 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
635 id="eu.etaxonomy.taxeditor.store.datasource.edit"
636 name="%command.name.0">
637 </command>
638 <command
639 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
640 id="eu.etaxonomy.taxeditor.store.datasource.clone"
641 name="Clone Datasource">
642 </command>
643 <command
644 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
645 id="eu.etaxonomy.taxeditor.store.datasource.create"
646 name="%command.name.1">
647 </command>
648 <command
649 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
650 id="eu.etaxonomy.taxeditor.store.datasource.close"
651 name="%command.name.2">
652 </command>
653 <command
654 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
655 id="eu.etaxonomy.taxeditor.store.datasource.update"
656 name="%command.name.3">
657 </command>
658 <command
659 id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
660 name="%command.name.4">
661 </command>
662 <command
663 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
664 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
665 name="%command.name.5">
666 <commandParameter
667 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
668 name="%commandParameter.name.0"
669 optional="true">
670 </commandParameter>
671 </command>
672 <command
673 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
674 id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
675 name="%command.name.6">
676 </command>
677 <command
678 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
679 id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
680 name="%command.name.7">
681 </command>
682 <command
683 id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
684 name="Open Feature Tree Editor Wizard">
685 </command>
686 <command
687 id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
688 name="Open Password Wizzard">
689 </command>
690 <command
691 id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
692 name="Open Distribution Editor Wizard">
693 </command>
694 <command
695 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
696 id="eu.etaxonomy.taxeditor.datasource.connect"
697 name="Connect">
698 </command>
699 <command
700 defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
701 id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
702 name="Inspect Active Session">
703 </command>
704 </extension>
705 <extension
706 point="org.eclipse.ui.importWizards">
707 <category
708 id="eu.etaxonomy.taxeditor.import.category.cdm"
709 name="%category.name">
710 </category>
711 <wizard
712 category="eu.etaxonomy.taxeditor.import.category.cdm"
713 class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
714 id="eu.etaxonomy.taxeditor.io.import.tcs"
715 name="%wizard.name">
716 </wizard>
717 <!-- <wizard
718 category="eu.etaxonomy.taxeditor.import.category.cdm"
719 class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
720 id="eu.etaxonomy.taxeditor.io.import.jaxb"
721 name="JAXB">
722 </wizard> -->
723 <!-- <wizard
724 category="eu.etaxonomy.taxeditor.import.category.cdm"
725 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
726 id="eu.etaxonomy.taxeditor.io.import.berlinModel"
727 name="%wizard.name.0">
728 </wizard>
729 <wizard
730 category="eu.etaxonomy.taxeditor.import.category.cdm"
731 class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
732 id="eu.etaxonomy.taxeditor.io.import.endnote"
733 name="%wizard.name.1">
734 </wizard>-->
735 <wizard
736 category="eu.etaxonomy.taxeditor.import.category.cdm"
737 class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
738 id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
739 name="%wizard.name.2">
740 </wizard>
741 <wizard
742 category="eu.etaxonomy.taxeditor.import.category.cdm"
743 class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
744 id="eu.etaxonomy.taxeditor.io.import.abcd"
745 name="%wizard.name.3">
746 </wizard>
747 <wizard
748 category="eu.etaxonomy.taxeditor.import.category.cdm"
749 class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
750 id="eu.etaxonomy.taxeditor.io.import.sdd"
751 name="%wizard.name.4">
752 </wizard>
753 <wizard
754 category="eu.etaxonomy.taxeditor.import.category.cdm"
755 class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
756 id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
757 name="%wizard.name.5">
758 </wizard>
759 </extension>
760 <extension
761 point="org.eclipse.ui.exportWizards">
762 <category
763 id="eu.etaxonomy.taxeditor.export.category.cdm"
764 name="%category.name.0">
765 </category>
766 <wizard
767 category="eu.etaxonomy.taxeditor.export.category.cdm"
768 class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
769 id="eu.etaxonomy.taxeditor.io.export.jaxb"
770 name="%wizard.name.6">
771 </wizard>
772 <!--<wizard
773 category="eu.etaxonomy.taxeditor.export.category.cdm"
774 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
775 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
776 name="%wizard.name.7">
777 </wizard>-->
778 <category
779 id="eu.etaxonomy.taxeditor.export.category.excel"
780 name="%category.name.1">
781 </category>
782 <wizard
783 category="eu.etaxonomy.taxeditor.export.category.cdm"
784 class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
785 id="eu.etaxonomy.taxeditor.io.export.sdd"
786 name="%wizard.name.8">
787 </wizard>
788 <wizard
789 category="eu.etaxonomy.taxeditor.export.category.cdm"
790 class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
791 id="eu.etaxonomy.taxeditor.io.export.dwca"
792 name="%wizard.name.9">
793 </wizard>
794 <wizard
795 category="eu.etaxonomy.taxeditor.export.category.cdm"
796 class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
797 id="eu.etaxonomy.taxeditor.io.export.csv"
798 name="CSV">
799 </wizard>
800 </extension>
801 <extension
802 point="org.eclipse.ui.newWizards">
803 <wizard
804 category="eu.etaxonomy.taxeditor.new.category.cdm"
805 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
806 hasPages="true"
807 id="eu.etaxonomy.taxeditor.new.reference"
808 name="%wizard.name.10">
809 </wizard>
810 <wizard
811 category="eu.etaxonomy.taxeditor.new.category.cdm"
812 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
813 hasPages="true"
814 id="eu.etaxonomy.taxeditor.new.nonViralName"
815 name="%wizard.name.11">
816 </wizard>
817 <wizard
818 category="eu.etaxonomy.taxeditor.new.category.cdm"
819 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
820 hasPages="true"
821 id="eu.etaxonomy.taxeditor.new.team"
822 name="%wizard.name.12">
823 </wizard>
824 <wizard
825 category="eu.etaxonomy.taxeditor.new.category.cdm"
826 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
827 hasPages="true"
828 id="eu.etaxonomy.taxeditor.new.person"
829 name="%wizard.name.13">
830 </wizard>
831 <wizard
832 category="eu.etaxonomy.taxeditor.new.category.cdm"
833 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
834 hasPages="true"
835 id="eu.etaxonomy.taxeditor.new.specimen"
836 name="%wizard.name.14">
837 </wizard>
838 <wizard
839 category="eu.etaxonomy.taxeditor.new.category.cdm"
840 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
841 hasPages="true"
842 id="eu.etaxonomy.taxeditor.new.key.polytomous"
843 name="%wizard.name.15">
844 </wizard>
845 <category
846 id="eu.etaxonomy.taxeditor.new.category.cdm"
847 name="%category.name.2">
848 </category>
849 <wizard
850 category="eu.etaxonomy.taxeditor.new.category.cdm"
851 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
852 hasPages="true"
853 id="eu.etaxonomy.taxeditor.new.taxonNode"
854 name="%wizard.name.16">
855 </wizard>
856 <wizard
857 category="eu.etaxonomy.taxeditor.new.category.cdm"
858 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
859 hasPages="true"
860 icon="icons/tree_icon_small.jpg"
861 id="eu.etaxonomy.taxeditor.new.classification"
862 name="%wizard.name.17">
863 </wizard>
864 </extension>
865 <extension
866 point="org.eclipse.ui.themes">
867 <themeElementCategory
868 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
869 label="%themeElementCategory.label">
870 <description>
871 %themeElementCategory.description
872 </description>
873 </themeElementCategory>
874 <colorDefinition
875 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
876 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
877 label="%colorDefinition.label"
878 value="150,150,150">
879 </colorDefinition>
880 <colorDefinition
881 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
882 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
883 label="%colorDefinition.label.0"
884 value="0,0,0">
885 </colorDefinition>
886 <colorDefinition
887 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
888 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
889 label="%colorDefinition.label.1"
890 value="255,255,255">
891 </colorDefinition>
892 <colorDefinition
893 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
894 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
895 label="%colorDefinition.label.2"
896 value="241,139,18">
897 </colorDefinition>
898 <colorDefinition
899 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
900 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
901 label="%colorDefinition.label.3"
902 value="150,150,150">
903 </colorDefinition>
904 <colorDefinition
905 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
906 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
907 label="%colorDefinition.label.4"
908 value="230,230,230">
909 </colorDefinition>
910 <themeElementCategory
911 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
912 label="%themeElementCategory.label.0"
913 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
914 <description>
915 %themeElementCategory.description.0
916 </description>
917 </themeElementCategory>
918 <colorDefinition
919 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
920 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
921 label="%colorDefinition.label.5"
922 value="230,230,230">
923 </colorDefinition>
924 <colorDefinition
925 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
926 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
927 label="%colorDefinition.label.6"
928 value="255,255,255">
929 </colorDefinition>
930 <themeElementCategory
931 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
932 label="%themeElementCategory.label.1"
933 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
934 <description>
935 %themeElementCategory.description.1
936 </description>
937 </themeElementCategory>
938 <colorDefinition
939 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
940 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
941 label="%colorDefinition.label.7"
942 value="220, 220, 220">
943 </colorDefinition>
944 <colorDefinition
945 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
946 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
947 label="%colorDefinition.label.8"
948 value="232,242,254">
949 </colorDefinition>
950 <colorDefinition
951 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
952 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
953 label="%colorDefinition.label.9"
954 value="210, 210, 210">
955 </colorDefinition>
956 <colorDefinition
957 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
958 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
959 label="%colorDefinition.label.10"
960 value="185,255,133">
961 </colorDefinition>
962 <fontDefinition
963 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
964 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
965 label="%fontDefinition.label"
966 value="Georgia-regular-12">
967 </fontDefinition>
968 <fontDefinition
969 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
970 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
971 label="%fontDefinition.label.0"
972 value="Georgia-regular-10">
973 </fontDefinition>
974 <fontDefinition
975 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
976 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
977 label="%fontDefinition.label.1"
978 value="Georgia-regular-10">
979 </fontDefinition>
980 <fontDefinition
981 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
982 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
983 label="%fontDefinition.label.2"
984 value="Georgia-regular-10">
985 </fontDefinition>
986 <fontDefinition
987 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
988 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
989 label="%fontDefinition.label.3"
990 value="Georgia-regular-10">
991 </fontDefinition>
992 <themeElementCategory
993 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
994 label="%themeElementCategory.label.2"
995 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
996 <description>
997 %themeElementCategory.description.2
998 </description>
999 </themeElementCategory>
1000 <colorDefinition
1001 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1002 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1003 label="%colorDefinition.label.11"
1004 value="192, 192, 192">
1005 </colorDefinition>
1006 <colorDefinition
1007 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1008 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1009 label="%colorDefinition.label.12"
1010 value="0, 0, 0">
1011 </colorDefinition>
1012 <fontDefinition
1013 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1014 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1015 isEditable="true"
1016 label="%fontDefinition.label.4"
1017 value="Arial-regular-10">
1018 <description>
1019 %fontDefinition.description
1020 </description>
1021 </fontDefinition>
1022 <fontDefinition
1023 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1024 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1025 isEditable="true"
1026 label="%fontDefinition.label.5"
1027 value="Arial-italic-10">
1028 <description>
1029 %fontDefinition.description.0
1030 </description>
1031 </fontDefinition>
1032 <fontDefinition
1033 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1034 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1035 isEditable="true"
1036 label="%fontDefinition.label.6"
1037 value="Lucida Grande-regular-11">
1038 <description>
1039 %fontDefinition.description.1
1040 </description>
1041 </fontDefinition>
1042 <colorDefinition
1043 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1044 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1045 label="%colorDefinition.label.13"
1046 value="255,0,0">
1047 </colorDefinition>
1048 <colorDefinition
1049 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1050 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1051 label="%colorDefinition.label.14"
1052 value="105,114,124">
1053 </colorDefinition>
1054 <colorDefinition
1055 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1056 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1057 label="%colorDefinition.label.15"
1058 value="255,0,0">
1059 </colorDefinition>
1060 </extension>
1061 <extension
1062 point="org.eclipse.core.expressions.propertyTesters">
1063 <propertyTester
1064 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1065 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1066 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1067 properties="isCompatible"
1068 type="org.eclipse.jface.viewers.IStructuredSelection">
1069 </propertyTester>
1070 <propertyTester
1071 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1072 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1073 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1074 properties="test"
1075 type="org.eclipse.jface.viewers.IStructuredSelection">
1076 </propertyTester>
1077 <propertyTester
1078 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1079 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1080 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1081 properties="isShowExperimentalFeatures"
1082 type="org.eclipse.jface.viewers.IStructuredSelection">
1083 </propertyTester>
1084 <propertyTester
1085 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1086 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1087 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1088 properties="isModifiable"
1089 type="org.eclipse.jface.viewers.IStructuredSelection">
1090 </propertyTester>
1091 <propertyTester
1092 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1093 id="eu.etaxonomy.taxeditor.security.permissionTester"
1094 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1095 properties="hasPermissions, hasRoles"
1096 type="org.eclipse.jface.viewers.IStructuredSelection">
1097 </propertyTester>
1098 </extension>
1099 <extension
1100 point="org.eclipse.core.expressions.definitions">
1101 <definition
1102 id="isCompatible">
1103 <with
1104 variable="selection">
1105 <test
1106 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1107 </test>
1108 </with>
1109 </definition>
1110 <definition
1111 id="isShowExperimentalFeatures">
1112 <with
1113 variable="selection">
1114 <test
1115 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1116 </test>
1117 </with>
1118 </definition>
1119 <definition
1120 id="isModifiable">
1121 <with
1122 variable="selection">
1123 <test
1124 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1125 </test>
1126 </with>
1127 </definition>
1128 <definition
1129 id="canUPDATE">
1130 <with
1131 variable="selection">
1132 <test
1133 args="UPDATE"
1134 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1135 </test>
1136 </with>
1137 </definition>
1138 <definition
1139 id="canDELETE">
1140 <with
1141 variable="selection">
1142 <test
1143 args="DELETE"
1144 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1145 </test>
1146 </with>
1147 </definition>
1148 <definition
1149 id="canCREATE">
1150 <with
1151 variable="selection">
1152 <test
1153 args="CREATE"
1154 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1155 </test>
1156 </with>
1157 </definition>
1158 <definition
1159 id="isUserLoggedIn">
1160 <with
1161 variable="eu.etaxonomy.taxeditor.security.user">
1162 <instanceof
1163 value="eu.etaxonomy.cdm.model.common.User">
1164 </instanceof>
1165 </with>
1166 </definition>
1167 <definition
1168 id="hasROLE_USER_MANAGER">
1169 <with
1170 variable="eu.etaxonomy.taxeditor.security.userRoles">
1171 <iterate
1172 ifEmpty="false"
1173 operator="or">
1174 <or>
1175 <equals
1176 value="ROLE_ADMIN">
1177 </equals>
1178 <equals
1179 value="ROLE_USER_MANAGER">
1180 </equals>
1181 </or>
1182 </iterate>
1183 </with>
1184 </definition>
1185 <definition
1186 id="hasROLE_PROJECT_MANAGER">
1187 <with
1188 variable="eu.etaxonomy.taxeditor.security.userRoles">
1189 <iterate
1190 ifEmpty="false"
1191 operator="or">
1192 <or>
1193 <equals
1194 value="ROLE_ADMIN">
1195 </equals>
1196 <equals
1197 value="ROLE_PROJECT_MANAGER">
1198 </equals>
1199 </or>
1200 </iterate>
1201 </with>
1202 </definition>
1203 </extension>
1204 <extension
1205 point="org.eclipse.ui.activities">
1206 <activity
1207 description="DELETE permission dependent ui contributions"
1208 id="eu.etaxonomy.taxeditor.store.activityDelete"
1209 name="Delete">
1210 <enabledWhen>
1211 <reference
1212 definitionId="canDELETE">
1213 </reference>
1214 </enabledWhen>
1215 </activity>
1216 <activityPatternBinding
1217 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1218 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1219 </activityPatternBinding>
1220 <activity
1221 description="UPDATE permission dependent ui contributions"
1222 id="eu.etaxonomy.taxeditor.store.activityUpdate"
1223 name="Update">
1224 <enabledWhen>
1225 <reference
1226 definitionId="canUPDATE">
1227 </reference>
1228 </enabledWhen>
1229 </activity>
1230 <activityPatternBinding
1231 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1232 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1233 </activityPatternBinding>
1234 <activity
1235 description="CREATE permission dependent ui contributions"
1236 id="eu.etaxonomy.taxeditor.store.activityCreate"
1237 name="Delete">
1238 <enabledWhen>
1239 <reference
1240 definitionId="canDELETE">
1241 </reference>
1242 </enabledWhen>
1243 </activity>
1244 <activityPatternBinding
1245 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1246 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1247 </activityPatternBinding>
1248 <activity
1249 description="ROLE_USER_MANAGER dependent ui contributions"
1250 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1251 name="UserManagement">
1252 <enabledWhen>
1253 <reference
1254 definitionId="hasROLE_USER_MANAGER">
1255 </reference>
1256 </enabledWhen>
1257 </activity>
1258 <activityPatternBinding
1259 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1260 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1261 </activityPatternBinding>
1262 <activityPatternBinding
1263 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1264 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1265 </activityPatternBinding>
1266 <activity
1267 description="ROLE_PROJECT_MANAGER dependent ui contributions"
1268 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1269 name="ProjectManagement">
1270 <enabledWhen>
1271 <reference
1272 definitionId="hasROLE_PROJECT_MANAGER">
1273 </reference>
1274 </enabledWhen>
1275 </activity>
1276 <activityPatternBinding
1277 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1278 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1279 </activityPatternBinding>
1280 <activityPatternBinding
1281 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1282 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1283 isEqualityPattern="true">
1284 </activityPatternBinding>
1285 <activityPatternBinding
1286 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1287 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1288 isEqualityPattern="true">
1289 </activityPatternBinding>
1290 </extension>
1291 <extension
1292 point="org.eclipse.ui.services">
1293 <sourceProvider
1294 provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1295 <variable
1296 name="eu.etaxonomy.taxeditor.security.userRoles"
1297 priorityLevel="workbench">
1298 </variable>
1299 </sourceProvider>
1300 </extension>
1301 </plugin>