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