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