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