Merge branch 'develop' into remoting-4.0
[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 <view
275 allowMultiple="false"
276 class="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
277 id="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
278 name="Sessions"
279 restorable="false">
280 </view>
281 </extension>
282 <extension
283 point="org.eclipse.ui.editors">
284 <editor
285 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
286 default="false"
287 id="eu.etaxonomy.taxeditor.editor.definedTerm"
288 name="%editor.name">
289 </editor>
290 </extension>
291 <extension
292 point="org.eclipse.ui.menus">
293 <menuContribution
294 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
295 <menu
296 id="eu.etaxonomy.taxeditor.menu.showView"
297 label="%menu.label">
298 <command
299 commandId="org.eclipse.ui.views.showView"
300 label="%command.label"
301 style="push">
302 <parameter
303 name="org.eclipse.ui.views.showView.viewId"
304 value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
305 </parameter>
306 </command>
307 <separator
308 name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
309 visible="true">
310 </separator>
311 <command
312 commandId="org.eclipse.ui.views.showView"
313 label="%command.label.0"
314 style="push">
315 <parameter
316 name="org.eclipse.ui.views.showView.viewId"
317 value="eu.etaxonomy.taxeditor.view.detail">
318 </parameter>
319 </command>
320 <command
321 commandId="org.eclipse.ui.views.showView"
322 id="org.eclipse.ui.views.showView.supplemental"
323 label="%command.label.1"
324 style="push">
325 <parameter
326 name="org.eclipse.ui.views.showView.viewId"
327 value="eu.etaxonomy.taxeditor.view.supplementalData">
328 </parameter>
329 </command>
330 <!-- Originally used by validation framework, currently not in use -->
331 <!-- <command
332 id="org.eclipse.ui.views.showView.problems"
333 commandId="org.eclipse.ui.views.showView"
334 label="Problems"
335 style="push">
336 <parameter
337 name="org.eclipse.ui.views.showView.viewId"
338 value="org.eclipse.ui.views.ProblemView">
339 </parameter>
340 </command> -->
341 <separator
342 name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
343 visible="true">
344 </separator>
345 <command
346 commandId="org.eclipse.ui.views.showView"
347 label="%command.label.2"
348 style="push">
349 <parameter
350 name="org.eclipse.ui.views.showView.viewId"
351 value="eu.etaxonomy.taxeditor.view.datasource">
352 </parameter>
353 </command>
354 <command
355 commandId="org.eclipse.ui.views.showView"
356 label="%command.label.3"
357 style="push">
358 <parameter
359 name="org.eclipse.ui.views.showView.viewId"
360 value="org.eclipse.pde.runtime.LogView">
361 </parameter>
362 </command>
363 <command
364 commandId="org.eclipse.ui.views.showView"
365 label="%command.label.4"
366 style="push">
367 <parameter
368 name="org.eclipse.ui.views.showView.viewId"
369 value="eu.etaxonomy.taxeditor.reporting.viewPart">
370 </parameter>
371 <visibleWhen
372 checkEnabled="true">
373 <reference
374 definitionId="isShowExperimentalFeatures">
375 </reference>
376 </visibleWhen>
377 </command>
378 <command
379 commandId="org.eclipse.ui.views.showView"
380 label="Sessions"
381 style="push">
382 <parameter
383 name="org.eclipse.ui.views.showView.viewId"
384 value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
385 </parameter>
386 </command>
387 </menu>
388 </menuContribution>
389 <menuContribution
390 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
391 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
392 </menuContribution>
393 <menuContribution
394 locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
395 <command
396 commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
397 label="%command.label.5"
398 style="push">
399 </command>
400 <separator
401 name="eu.etaxonomy.taxeditor.application.filemenu.login"
402 visible="true">
403 </separator>
404 </menuContribution>
405 <menuContribution
406 locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
407 <command
408 commandId="eu.etaxonomy.taxeditor.store.datasource.change"
409 label="%command.label.6"
410 style="push">
411 <visibleWhen>
412 <with
413 variable="selection">
414 <not>
415 <test
416 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
417 </test>
418 </not>
419 </with>
420 </visibleWhen>
421 </command>
422 <command
423 commandId="eu.etaxonomy.taxeditor.store.datasource.create"
424 label="%command.label.7"
425 style="push">
426 </command>
427 <command
428 commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
429 label="%command.label.8"
430 style="push">
431 <visibleWhen>
432 <with
433 variable="selection">
434 <not>
435 <test
436 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
437 </test>
438 </not>
439 </with>
440 </visibleWhen>
441 </command>
442 <command
443 commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
444 label="%command.label.clone"
445 style="push">
446 <visibleWhen>
447 <with
448 variable="selection">
449 <not>
450 <test
451 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
452 </test>
453 </not>
454 </with>
455 </visibleWhen>
456 </command>
457 <separator
458 name="eu.etaxonomy.taxeditor.store.datasource.separator"
459 visible="true">
460 </separator>
461 <command
462 commandId="eu.etaxonomy.taxeditor.view.datasource.delete"
463 label="%command.label.9"
464 style="push">
465 <visibleWhen>
466 <with
467 variable="selection">
468 <not>
469 <test
470 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
471 </test>
472 </not>
473 </with>
474 </visibleWhen>
475 </command>
476 <separator
477 name="eu.etaxonomy.taxeditor.store.datasource.separator2"
478 visible="true">
479 </separator>
480 <command
481 commandId="eu.etaxonomy.taxeditor.store.datasource.close"
482 label="%command.label.10"
483 style="push">
484 <visibleWhen>
485 <with
486 variable="selection">
487 <not>
488 <test
489 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
490 </test>
491 </not>
492 </with>
493 </visibleWhen>
494 </command>
495 <command
496 commandId="eu.etaxonomy.taxeditor.store.datasource.update"
497 label="%command.label.11"
498 style="push">
499 <visibleWhen
500 checkEnabled="true">
501 <not>
502 <reference
503 definitionId="isCompatible">
504 </reference>
505 </not>
506 </visibleWhen>
507
508 </command>
509 </menuContribution>
510 <menuContribution
511 locationURI="toolbar:org.eclipse.ui.trim.status">
512 <toolbar
513 id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
514 <control
515 class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
516 </control>
517 </toolbar>
518 </menuContribution>
519 <menuContribution
520 locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
521 <menu
522 label="%menu.label.0">
523 <command
524 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
525 label="%command.label.12"
526 style="push">
527 </command>
528 <command
529 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
530 label="%command.label.13"
531 style="push">
532 <visibleWhen
533 checkEnabled="true">
534 <reference
535 definitionId="isModifiable">
536 </reference>
537 </visibleWhen>
538 </command>
539 </menu>
540 <command
541 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
542 label="%command.label.14"
543 style="push">
544 <visibleWhen
545 checkEnabled="true">
546 <reference
547 definitionId="isModifiable">
548 </reference>
549 </visibleWhen>
550 </command>
551 </menuContribution>
552 <menuContribution
553 allPopups="false"
554 locationURI="popup:eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
555 <command
556 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
557 label="%command.label.openInSpecimenEditor"
558 style="push">
559 <visibleWhen
560 checkEnabled="true">
561 <with
562 variable="selection">
563 <count
564 value="+">
565 </count>
566 </with>
567 </visibleWhen>
568 </command>
569 </menuContribution>
570 </extension>
571 <extension
572 point="org.eclipse.ui.handlers">
573 <handler
574 class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
575 commandId="eu.etaxonomy.taxeditor.view.datasource.delete">
576 <activeWhen>
577 <with
578 variable="activePartId">
579 <equals
580 value="eu.etaxonomy.taxeditor.view.datasource">
581 </equals>
582 </with>
583 </activeWhen>
584 </handler>
585 <handler
586 class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
587 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete">
588 <activeWhen>
589 <with
590 variable="activePartId">
591 <equals
592 value="eu.etaxonomy.taxeditor.editor.definedTerm">
593 </equals>
594 </with>
595 </activeWhen>
596 </handler>
597 <handler
598 class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
599 commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
600 <activeWhen>
601 <reference
602 definitionId="hasROLE_PROJECT_MANAGER">
603 </reference>
604 </activeWhen>
605 </handler>
606 <handler
607 class="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
608 commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
609 <enabledWhen>
610 <reference
611 definitionId="isUserLoggedIn">
612 </reference></enabledWhen>
613 </handler>
614 <handler
615 class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
616 commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
617 <enabledWhen>
618 <reference
619 definitionId="isUserLoggedIn">
620 </reference></enabledWhen>
621 </handler>
622 <handler
623 class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
624 commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
625 <activeWhen>
626 <reference
627 definitionId="hasROLE_PROJECT_MANAGER">
628 </reference>
629 </activeWhen>
630 </handler>
631 </extension>
632 <extension
633 name="%extension.name.0"
634 point="org.eclipse.ui.commands">
635 <command
636 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
637 id="eu.etaxonomy.taxeditor.store.datasource.change"
638 name="%command.name">
639 </command>
640 <command
641 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
642 id="eu.etaxonomy.taxeditor.store.datasource.edit"
643 name="%command.name.0">
644 </command>
645 <command
646 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
647 id="eu.etaxonomy.taxeditor.store.datasource.clone"
648 name="%command.name.8">
649 </command>
650 <command
651 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
652 id="eu.etaxonomy.taxeditor.store.datasource.create"
653 name="%command.name.1">
654 </command>
655 <command
656 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
657 id="eu.etaxonomy.taxeditor.store.datasource.close"
658 name="%command.name.2">
659 </command>
660 <command
661 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
662 id="eu.etaxonomy.taxeditor.view.datasource.delete"
663 name="%command.name.13">
664 </command>
665 <command
666 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
667 id="eu.etaxonomy.taxeditor.store.datasource.update"
668 name="%command.name.3">
669 </command>
670 <command
671 id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
672 name="%command.name.4">
673 </command>
674 <command
675 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
676 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
677 name="%command.name.5">
678 <commandParameter
679 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
680 name="%commandParameter.name.0"
681 optional="true">
682 </commandParameter>
683 </command>
684 <command
685 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
686 id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
687 name="%command.name.6">
688 </command>
689 <command
690 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
691 id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
692 name="%command.name.7">
693 </command>
694 <command
695 id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
696 name="%command.name.9">
697 </command>
698 <command
699 id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
700 name="%command.name.10">
701 </command>
702 <command
703 id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
704 name="%command.name.11">
705 </command>
706 <command
707 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
708 id="eu.etaxonomy.taxeditor.datasource.connect"
709 name="%command.name.12">
710 </command>
711 <command
712 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
713 id="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
714 name="%command.name.14">
715 </command>
716 <command
717 defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
718 id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
719 name="Inspect Active Session">
720 </command>
721 </extension>
722 <extension
723 point="org.eclipse.ui.importWizards">
724 <category
725 id="eu.etaxonomy.taxeditor.import.category.cdm"
726 name="%category.name">
727 </category>
728 <wizard
729 category="eu.etaxonomy.taxeditor.import.category.cdm"
730 class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
731 id="eu.etaxonomy.taxeditor.io.import.tcs"
732 name="%wizard.name">
733 </wizard>
734 <!-- <wizard
735 category="eu.etaxonomy.taxeditor.import.category.cdm"
736 class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
737 id="eu.etaxonomy.taxeditor.io.import.jaxb"
738 name="JAXB">
739 </wizard> -->
740 <!-- <wizard
741 category="eu.etaxonomy.taxeditor.import.category.cdm"
742 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
743 id="eu.etaxonomy.taxeditor.io.import.berlinModel"
744 name="%wizard.name.0">
745 </wizard>
746 <wizard
747 category="eu.etaxonomy.taxeditor.import.category.cdm"
748 class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
749 id="eu.etaxonomy.taxeditor.io.import.endnote"
750 name="%wizard.name.1">
751 </wizard>-->
752 <wizard
753 category="eu.etaxonomy.taxeditor.import.category.cdm"
754 class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
755 id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
756 name="%wizard.name.2">
757 </wizard>
758 <wizard
759 category="eu.etaxonomy.taxeditor.import.category.cdm"
760 class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
761 id="eu.etaxonomy.taxeditor.io.import.abcd"
762 name="%wizard.name.3">
763 </wizard>
764 <wizard
765 category="eu.etaxonomy.taxeditor.import.category.cdm"
766 class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
767 id="eu.etaxonomy.taxeditor.io.import.sdd"
768 name="%wizard.name.4">
769 </wizard>
770 <wizard
771 category="eu.etaxonomy.taxeditor.import.category.cdm"
772 class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
773 id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
774 name="%wizard.name.5">
775 </wizard>
776 </extension>
777 <extension
778 point="org.eclipse.ui.exportWizards">
779 <category
780 id="eu.etaxonomy.taxeditor.export.category.cdm"
781 name="%category.name.0">
782 </category>
783 <wizard
784 category="eu.etaxonomy.taxeditor.export.category.cdm"
785 class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
786 id="eu.etaxonomy.taxeditor.io.export.jaxb"
787 name="%wizard.name.6">
788 </wizard>
789 <!--<wizard
790 category="eu.etaxonomy.taxeditor.export.category.cdm"
791 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
792 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
793 name="%wizard.name.7">
794 </wizard>-->
795 <category
796 id="eu.etaxonomy.taxeditor.export.category.excel"
797 name="%category.name.1">
798 </category>
799 <wizard
800 category="eu.etaxonomy.taxeditor.export.category.cdm"
801 class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
802 id="eu.etaxonomy.taxeditor.io.export.sdd"
803 name="%wizard.name.8">
804 </wizard>
805 <wizard
806 category="eu.etaxonomy.taxeditor.export.category.cdm"
807 class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
808 id="eu.etaxonomy.taxeditor.io.export.dwca"
809 name="%wizard.name.9">
810 </wizard>
811 <wizard
812 category="eu.etaxonomy.taxeditor.export.category.cdm"
813 class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
814 id="eu.etaxonomy.taxeditor.io.export.csv"
815 name="%wizard.name.18">
816 </wizard>
817 <wizard
818 category="eu.etaxonomy.taxeditor.export.category.cdm"
819 class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
820 id="eu.etaxonomy.taxeditor.io.export.csv_name"
821 name="%wizard.name.19">
822 </wizard>
823 <wizard
824 category="eu.etaxonomy.taxeditor.export.category.cdm"
825 class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
826 id="eu.etaxonomy.taxeditor.io.export.csv_print"
827 name="%wizard.name.20">
828 </wizard>
829 </extension>
830 <extension
831 point="org.eclipse.ui.newWizards">
832 <wizard
833 category="eu.etaxonomy.taxeditor.new.category.cdm"
834 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
835 hasPages="true"
836 id="eu.etaxonomy.taxeditor.new.reference"
837 name="%wizard.name.10">
838 </wizard>
839 <wizard
840 category="eu.etaxonomy.taxeditor.new.category.cdm"
841 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
842 hasPages="true"
843 id="eu.etaxonomy.taxeditor.new.nonViralName"
844 name="%wizard.name.11">
845 </wizard>
846 <wizard
847 category="eu.etaxonomy.taxeditor.new.category.cdm"
848 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
849 hasPages="true"
850 id="eu.etaxonomy.taxeditor.new.team"
851 name="%wizard.name.12">
852 </wizard>
853 <wizard
854 category="eu.etaxonomy.taxeditor.new.category.cdm"
855 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
856 hasPages="true"
857 id="eu.etaxonomy.taxeditor.new.person"
858 name="%wizard.name.13">
859 </wizard>
860 <wizard
861 category="eu.etaxonomy.taxeditor.new.category.cdm"
862 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
863 hasPages="true"
864 id="eu.etaxonomy.taxeditor.new.specimen"
865 name="%wizard.name.14">
866 </wizard>
867 <wizard
868 category="eu.etaxonomy.taxeditor.new.category.cdm"
869 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
870 hasPages="true"
871 id="eu.etaxonomy.taxeditor.new.key.polytomous"
872 name="%wizard.name.15">
873 </wizard>
874 <category
875 id="eu.etaxonomy.taxeditor.new.category.cdm"
876 name="%category.name.2">
877 </category>
878 <wizard
879 category="eu.etaxonomy.taxeditor.new.category.cdm"
880 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
881 hasPages="true"
882 id="eu.etaxonomy.taxeditor.new.taxonNode"
883 name="%wizard.name.16">
884 </wizard>
885 <wizard
886 category="eu.etaxonomy.taxeditor.new.category.cdm"
887 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
888 hasPages="true"
889 icon="icons/tree_icon_small.jpg"
890 id="eu.etaxonomy.taxeditor.new.classification"
891 name="%wizard.name.17">
892 </wizard>
893 </extension>
894 <extension
895 point="org.eclipse.ui.themes">
896 <themeElementCategory
897 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
898 label="%themeElementCategory.label">
899 <description>
900 %themeElementCategory.description
901 </description>
902 </themeElementCategory>
903 <colorDefinition
904 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
905 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
906 label="%colorDefinition.label"
907 value="150,150,150">
908 </colorDefinition>
909 <colorDefinition
910 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
911 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
912 label="%colorDefinition.label.0"
913 value="0,0,0">
914 </colorDefinition>
915 <colorDefinition
916 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
917 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
918 label="%colorDefinition.label.1"
919 value="255,255,255">
920 </colorDefinition>
921 <colorDefinition
922 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
923 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
924 label="%colorDefinition.label.2"
925 value="241,139,18">
926 </colorDefinition>
927 <colorDefinition
928 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
929 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
930 label="%colorDefinition.label.3"
931 value="150,150,150">
932 </colorDefinition>
933 <colorDefinition
934 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
935 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
936 label="%colorDefinition.label.4"
937 value="230,230,230">
938 </colorDefinition>
939 <themeElementCategory
940 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
941 label="%themeElementCategory.label.0"
942 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
943 <description>
944 %themeElementCategory.description.0
945 </description>
946 </themeElementCategory>
947 <colorDefinition
948 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
949 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
950 label="%colorDefinition.label.5"
951 value="230,230,230">
952 </colorDefinition>
953 <colorDefinition
954 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
955 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
956 label="%colorDefinition.label.6"
957 value="255,255,255">
958 </colorDefinition>
959 <themeElementCategory
960 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
961 label="%themeElementCategory.label.1"
962 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
963 <description>
964 %themeElementCategory.description.1
965 </description>
966 </themeElementCategory>
967 <colorDefinition
968 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
969 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
970 label="%colorDefinition.label.7"
971 value="220, 220, 220">
972 </colorDefinition>
973 <colorDefinition
974 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
975 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
976 label="%colorDefinition.label.8"
977 value="232,242,254">
978 </colorDefinition>
979 <colorDefinition
980 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
981 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
982 label="%colorDefinition.label.9"
983 value="210, 210, 210">
984 </colorDefinition>
985 <colorDefinition
986 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
987 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
988 label="%colorDefinition.label.10"
989 value="185,255,133">
990 </colorDefinition>
991 <fontDefinition
992 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
993 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
994 label="%fontDefinition.label"
995 value="Georgia-regular-12">
996 </fontDefinition>
997 <fontDefinition
998 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
999 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
1000 label="%fontDefinition.label.0"
1001 value="Georgia-regular-10">
1002 </fontDefinition>
1003 <fontDefinition
1004 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1005 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
1006 label="%fontDefinition.label.1"
1007 value="Georgia-regular-10">
1008 </fontDefinition>
1009 <fontDefinition
1010 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1011 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
1012 label="%fontDefinition.label.2"
1013 value="Georgia-regular-10">
1014 </fontDefinition>
1015 <fontDefinition
1016 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1017 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
1018 label="%fontDefinition.label.3"
1019 value="Georgia-regular-10">
1020 </fontDefinition>
1021 <themeElementCategory
1022 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1023 label="%themeElementCategory.label.2"
1024 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1025 <description>
1026 %themeElementCategory.description.2
1027 </description>
1028 </themeElementCategory>
1029 <colorDefinition
1030 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1031 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1032 label="%colorDefinition.label.11"
1033 value="192, 192, 192">
1034 </colorDefinition>
1035 <colorDefinition
1036 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1037 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1038 label="%colorDefinition.label.12"
1039 value="0, 0, 0">
1040 </colorDefinition>
1041 <fontDefinition
1042 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1043 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1044 isEditable="true"
1045 label="%fontDefinition.label.4"
1046 value="Arial-regular-10">
1047 <description>
1048 %fontDefinition.description
1049 </description>
1050 </fontDefinition>
1051 <fontDefinition
1052 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1053 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1054 isEditable="true"
1055 label="%fontDefinition.label.5"
1056 value="Arial-italic-10">
1057 <description>
1058 %fontDefinition.description.0
1059 </description>
1060 </fontDefinition>
1061 <fontDefinition
1062 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1063 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1064 isEditable="true"
1065 label="%fontDefinition.label.6"
1066 value="Lucida Grande-regular-11">
1067 <description>
1068 %fontDefinition.description.1
1069 </description>
1070 </fontDefinition>
1071 <colorDefinition
1072 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1073 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1074 label="%colorDefinition.label.13"
1075 value="255,0,0">
1076 </colorDefinition>
1077 <colorDefinition
1078 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1079 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1080 label="%colorDefinition.label.14"
1081 value="105,114,124">
1082 </colorDefinition>
1083 <colorDefinition
1084 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1085 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1086 label="%colorDefinition.label.15"
1087 value="255,0,0">
1088 </colorDefinition>
1089 </extension>
1090 <extension
1091 point="org.eclipse.core.expressions.propertyTesters">
1092 <propertyTester
1093 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1094 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1095 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1096 properties="isCompatible"
1097 type="org.eclipse.jface.viewers.IStructuredSelection">
1098 </propertyTester>
1099 <propertyTester
1100 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1101 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1102 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1103 properties="test"
1104 type="org.eclipse.jface.viewers.IStructuredSelection">
1105 </propertyTester>
1106 <propertyTester
1107 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1108 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1109 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1110 properties="isShowExperimentalFeatures"
1111 type="org.eclipse.jface.viewers.IStructuredSelection">
1112 </propertyTester>
1113 <propertyTester
1114 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1115 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1116 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1117 properties="isModifiable"
1118 type="org.eclipse.jface.viewers.IStructuredSelection">
1119 </propertyTester>
1120 <propertyTester
1121 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1122 id="eu.etaxonomy.taxeditor.security.permissionTester"
1123 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1124 properties="hasPermissions, hasRoles"
1125 type="org.eclipse.jface.viewers.IStructuredSelection">
1126 </propertyTester>
1127 </extension>
1128 <extension
1129 point="org.eclipse.core.expressions.definitions">
1130 <definition
1131 id="isCompatible">
1132 <with
1133 variable="selection">
1134 <test
1135 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1136 </test>
1137 </with>
1138 </definition>
1139 <definition
1140 id="isShowExperimentalFeatures">
1141 <with
1142 variable="selection">
1143 <test
1144 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1145 </test>
1146 </with>
1147 </definition>
1148 <definition
1149 id="isModifiable">
1150 <with
1151 variable="selection">
1152 <test
1153 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1154 </test>
1155 </with>
1156 </definition>
1157 <definition
1158 id="canUPDATE">
1159 <with
1160 variable="selection">
1161 <test
1162 args="UPDATE"
1163 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1164 </test>
1165 </with>
1166 </definition>
1167 <definition
1168 id="canDELETE">
1169 <with
1170 variable="selection">
1171 <test
1172 args="DELETE"
1173 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1174 </test>
1175 </with>
1176 </definition>
1177 <definition
1178 id="canCREATE">
1179 <with
1180 variable="selection">
1181 <test
1182 args="CREATE"
1183 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1184 </test>
1185 </with>
1186 </definition>
1187 <definition
1188 id="isUserLoggedIn">
1189 <with
1190 variable="eu.etaxonomy.taxeditor.security.user">
1191 <instanceof
1192 value="eu.etaxonomy.cdm.model.common.User">
1193 </instanceof>
1194 </with>
1195 </definition>
1196 <definition
1197 id="hasROLE_USER_MANAGER">
1198 <with
1199 variable="eu.etaxonomy.taxeditor.security.userRoles">
1200 <iterate
1201 ifEmpty="false"
1202 operator="or">
1203 <or>
1204 <equals
1205 value="ROLE_ADMIN">
1206 </equals>
1207 <equals
1208 value="ROLE_USER_MANAGER">
1209 </equals>
1210 </or>
1211 </iterate>
1212 </with>
1213 </definition>
1214 <definition
1215 id="hasROLE_PROJECT_MANAGER">
1216 <with
1217 variable="eu.etaxonomy.taxeditor.security.userRoles">
1218 <iterate
1219 ifEmpty="false"
1220 operator="or">
1221 <or>
1222 <equals
1223 value="ROLE_ADMIN">
1224 </equals>
1225 <equals
1226 value="ROLE_PROJECT_MANAGER">
1227 </equals>
1228 </or>
1229 </iterate>
1230 </with>
1231 </definition>
1232 </extension>
1233 <extension
1234 point="org.eclipse.ui.activities">
1235 <activity
1236 description="%activity.description"
1237 id="eu.etaxonomy.taxeditor.store.activityDelete"
1238 name="%activity.name">
1239 <enabledWhen>
1240 <reference
1241 definitionId="canDELETE">
1242 </reference>
1243 </enabledWhen>
1244 </activity>
1245 <activityPatternBinding
1246 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1247 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1248 </activityPatternBinding>
1249 <activity
1250 description="%activity.description.0"
1251 id="eu.etaxonomy.taxeditor.store.activityUpdate"
1252 name="%activity.name.0">
1253 <enabledWhen>
1254 <reference
1255 definitionId="canUPDATE">
1256 </reference>
1257 </enabledWhen>
1258 </activity>
1259 <activityPatternBinding
1260 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1261 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1262 </activityPatternBinding>
1263 <activity
1264 description="%activity.description.1"
1265 id="eu.etaxonomy.taxeditor.store.activityCreate"
1266 name="%activity.name.1">
1267 <enabledWhen>
1268 <reference
1269 definitionId="canDELETE">
1270 </reference>
1271 </enabledWhen>
1272 </activity>
1273 <activityPatternBinding
1274 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1275 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1276 </activityPatternBinding>
1277 <activity
1278 description="%activity.description.2"
1279 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1280 name="%activity.name.2">
1281 <enabledWhen>
1282 <reference
1283 definitionId="hasROLE_USER_MANAGER">
1284 </reference>
1285 </enabledWhen>
1286 </activity>
1287 <activityPatternBinding
1288 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1289 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1290 </activityPatternBinding>
1291 <activityPatternBinding
1292 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1293 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1294 </activityPatternBinding>
1295 <activity
1296 description="%activity.description.3"
1297 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1298 name="%activity.name.3">
1299 <enabledWhen>
1300 <reference
1301 definitionId="hasROLE_PROJECT_MANAGER">
1302 </reference>
1303 </enabledWhen>
1304 </activity>
1305 <activityPatternBinding
1306 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1307 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1308 </activityPatternBinding>
1309 <activityPatternBinding
1310 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1311 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1312 isEqualityPattern="true">
1313 </activityPatternBinding>
1314 <activityPatternBinding
1315 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1316 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1317 isEqualityPattern="true">
1318 </activityPatternBinding>
1319 </extension>
1320 <extension
1321 point="org.eclipse.ui.services">
1322 <sourceProvider
1323 provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1324 <variable
1325 name="eu.etaxonomy.taxeditor.security.userRoles"
1326 priorityLevel="workbench">
1327 </variable>
1328 </sourceProvider>
1329 </extension>
1330 </plugin>