Merge branch 'develop' into unify_derivative_views
[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 </extension>
760 <extension
761 point="org.eclipse.ui.importWizards">
762 <category
763 id="eu.etaxonomy.taxeditor.import.category.cdm"
764 name="%category.name">
765 </category>
766 <wizard
767 category="eu.etaxonomy.taxeditor.import.category.cdm"
768 class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
769 id="eu.etaxonomy.taxeditor.io.import.tcs"
770 name="%wizard.name">
771 </wizard>
772 <!-- <wizard
773 category="eu.etaxonomy.taxeditor.import.category.cdm"
774 class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
775 id="eu.etaxonomy.taxeditor.io.import.jaxb"
776 name="JAXB">
777 </wizard> -->
778 <!-- <wizard
779 category="eu.etaxonomy.taxeditor.import.category.cdm"
780 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
781 id="eu.etaxonomy.taxeditor.io.import.berlinModel"
782 name="%wizard.name.0">
783 </wizard>
784 <wizard
785 category="eu.etaxonomy.taxeditor.import.category.cdm"
786 class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
787 id="eu.etaxonomy.taxeditor.io.import.endnote"
788 name="%wizard.name.1">
789 </wizard>-->
790 <wizard
791 category="eu.etaxonomy.taxeditor.import.category.cdm"
792 class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
793 id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
794 name="%wizard.name.2">
795 </wizard>
796 <wizard
797 category="eu.etaxonomy.taxeditor.import.category.cdm"
798 class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
799 id="eu.etaxonomy.taxeditor.io.import.abcd"
800 name="%wizard.name.3">
801 </wizard>
802 <wizard
803 category="eu.etaxonomy.taxeditor.import.category.cdm"
804 class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
805 id="eu.etaxonomy.taxeditor.io.import.sdd"
806 name="%wizard.name.4">
807 </wizard>
808 <wizard
809 category="eu.etaxonomy.taxeditor.import.category.cdm"
810 class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
811 id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
812 name="%wizard.name.5">
813 </wizard>
814 </extension>
815 <extension
816 point="org.eclipse.ui.exportWizards">
817 <category
818 id="eu.etaxonomy.taxeditor.export.category.cdm"
819 name="%category.name.0">
820 </category>
821 <wizard
822 category="eu.etaxonomy.taxeditor.export.category.cdm"
823 class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
824 id="eu.etaxonomy.taxeditor.io.export.jaxb"
825 name="%wizard.name.6">
826 </wizard>
827 <!--<wizard
828 category="eu.etaxonomy.taxeditor.export.category.cdm"
829 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
830 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
831 name="%wizard.name.7">
832 </wizard>-->
833 <category
834 id="eu.etaxonomy.taxeditor.export.category.excel"
835 name="%category.name.1">
836 </category>
837 <wizard
838 category="eu.etaxonomy.taxeditor.export.category.cdm"
839 class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
840 id="eu.etaxonomy.taxeditor.io.export.sdd"
841 name="%wizard.name.8">
842 </wizard>
843 <wizard
844 category="eu.etaxonomy.taxeditor.export.category.cdm"
845 class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
846 id="eu.etaxonomy.taxeditor.io.export.dwca"
847 name="%wizard.name.9">
848 </wizard>
849 <wizard
850 category="eu.etaxonomy.taxeditor.export.category.cdm"
851 class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
852 id="eu.etaxonomy.taxeditor.io.export.csv"
853 name="%wizard.name.18">
854 </wizard>
855 <wizard
856 category="eu.etaxonomy.taxeditor.export.category.cdm"
857 class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
858 id="eu.etaxonomy.taxeditor.io.export.csv_name"
859 name="%wizard.name.19">
860 </wizard>
861 <wizard
862 category="eu.etaxonomy.taxeditor.export.category.cdm"
863 class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
864 id="eu.etaxonomy.taxeditor.io.export.csv_print"
865 name="%wizard.name.20">
866 </wizard>
867 </extension>
868 <extension
869 point="org.eclipse.ui.newWizards">
870 <wizard
871 category="eu.etaxonomy.taxeditor.new.category.cdm"
872 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
873 hasPages="true"
874 id="eu.etaxonomy.taxeditor.new.reference"
875 name="%wizard.name.10">
876 </wizard>
877 <wizard
878 category="eu.etaxonomy.taxeditor.new.category.cdm"
879 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
880 hasPages="true"
881 id="eu.etaxonomy.taxeditor.new.nonViralName"
882 name="%wizard.name.11">
883 </wizard>
884 <wizard
885 category="eu.etaxonomy.taxeditor.new.category.cdm"
886 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
887 hasPages="true"
888 id="eu.etaxonomy.taxeditor.new.team"
889 name="%wizard.name.12">
890 </wizard>
891 <wizard
892 category="eu.etaxonomy.taxeditor.new.category.cdm"
893 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
894 hasPages="true"
895 id="eu.etaxonomy.taxeditor.new.person"
896 name="%wizard.name.13">
897 </wizard>
898 <wizard
899 category="eu.etaxonomy.taxeditor.new.category.cdm"
900 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
901 hasPages="true"
902 id="eu.etaxonomy.taxeditor.new.specimen"
903 name="%wizard.name.14">
904 </wizard>
905 <wizard
906 category="eu.etaxonomy.taxeditor.new.category.cdm"
907 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
908 hasPages="true"
909 id="eu.etaxonomy.taxeditor.new.key.polytomous"
910 name="%wizard.name.15">
911 </wizard>
912 <category
913 id="eu.etaxonomy.taxeditor.new.category.cdm"
914 name="%category.name.2">
915 </category>
916 <wizard
917 category="eu.etaxonomy.taxeditor.new.category.cdm"
918 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
919 hasPages="true"
920 id="eu.etaxonomy.taxeditor.new.taxonNode"
921 name="%wizard.name.16">
922 </wizard>
923 <wizard
924 category="eu.etaxonomy.taxeditor.new.category.cdm"
925 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
926 hasPages="true"
927 icon="icons/tree_icon_small.jpg"
928 id="eu.etaxonomy.taxeditor.new.classification"
929 name="%wizard.name.17">
930 </wizard>
931 </extension>
932 <extension
933 point="org.eclipse.ui.themes">
934 <themeElementCategory
935 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
936 label="%themeElementCategory.label">
937 <description>
938 %themeElementCategory.description
939 </description>
940 </themeElementCategory>
941 <colorDefinition
942 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
943 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
944 label="%colorDefinition.label"
945 value="150,150,150">
946 </colorDefinition>
947 <colorDefinition
948 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
949 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
950 label="%colorDefinition.label.0"
951 value="0,0,0">
952 </colorDefinition>
953 <colorDefinition
954 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
955 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
956 label="%colorDefinition.label.1"
957 value="255,255,255">
958 </colorDefinition>
959 <colorDefinition
960 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
961 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
962 label="%colorDefinition.label.2"
963 value="241,139,18">
964 </colorDefinition>
965 <colorDefinition
966 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
967 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
968 label="%colorDefinition.label.3"
969 value="150,150,150">
970 </colorDefinition>
971 <colorDefinition
972 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
973 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
974 label="%colorDefinition.label.4"
975 value="230,230,230">
976 </colorDefinition>
977 <themeElementCategory
978 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
979 label="%themeElementCategory.label.0"
980 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
981 <description>
982 %themeElementCategory.description.0
983 </description>
984 </themeElementCategory>
985 <colorDefinition
986 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
987 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
988 label="%colorDefinition.label.5"
989 value="230,230,230">
990 </colorDefinition>
991 <colorDefinition
992 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
993 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
994 label="%colorDefinition.label.6"
995 value="255,255,255">
996 </colorDefinition>
997 <themeElementCategory
998 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
999 label="%themeElementCategory.label.1"
1000 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1001 <description>
1002 %themeElementCategory.description.1
1003 </description>
1004 </themeElementCategory>
1005 <colorDefinition
1006 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1007 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
1008 label="%colorDefinition.label.7"
1009 value="220, 220, 220">
1010 </colorDefinition>
1011 <colorDefinition
1012 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1013 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
1014 label="%colorDefinition.label.8"
1015 value="232,242,254">
1016 </colorDefinition>
1017 <colorDefinition
1018 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1019 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
1020 label="%colorDefinition.label.9"
1021 value="210, 210, 210">
1022 </colorDefinition>
1023 <colorDefinition
1024 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1025 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
1026 label="%colorDefinition.label.10"
1027 value="185,255,133">
1028 </colorDefinition>
1029 <fontDefinition
1030 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1031 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
1032 label="%fontDefinition.label"
1033 value="Georgia-regular-12">
1034 </fontDefinition>
1035 <fontDefinition
1036 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1037 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
1038 label="%fontDefinition.label.0"
1039 value="Georgia-regular-10">
1040 </fontDefinition>
1041 <fontDefinition
1042 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1043 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
1044 label="%fontDefinition.label.1"
1045 value="Georgia-regular-10">
1046 </fontDefinition>
1047 <fontDefinition
1048 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1049 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
1050 label="%fontDefinition.label.2"
1051 value="Georgia-regular-10">
1052 </fontDefinition>
1053 <fontDefinition
1054 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1055 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
1056 label="%fontDefinition.label.3"
1057 value="Georgia-regular-10">
1058 </fontDefinition>
1059 <themeElementCategory
1060 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1061 label="%themeElementCategory.label.2"
1062 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1063 <description>
1064 %themeElementCategory.description.2
1065 </description>
1066 </themeElementCategory>
1067 <colorDefinition
1068 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1069 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1070 label="%colorDefinition.label.11"
1071 value="192, 192, 192">
1072 </colorDefinition>
1073 <colorDefinition
1074 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1075 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1076 label="%colorDefinition.label.12"
1077 value="0, 0, 0">
1078 </colorDefinition>
1079 <fontDefinition
1080 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1081 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1082 isEditable="true"
1083 label="%fontDefinition.label.4"
1084 value="Arial-regular-10">
1085 <description>
1086 %fontDefinition.description
1087 </description>
1088 </fontDefinition>
1089 <fontDefinition
1090 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1091 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1092 isEditable="true"
1093 label="%fontDefinition.label.5"
1094 value="Arial-italic-10">
1095 <description>
1096 %fontDefinition.description.0
1097 </description>
1098 </fontDefinition>
1099 <fontDefinition
1100 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1101 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1102 isEditable="true"
1103 label="%fontDefinition.label.6"
1104 value="Lucida Grande-regular-11">
1105 <description>
1106 %fontDefinition.description.1
1107 </description>
1108 </fontDefinition>
1109 <colorDefinition
1110 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1111 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1112 label="%colorDefinition.label.13"
1113 value="255,0,0">
1114 </colorDefinition>
1115 <colorDefinition
1116 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1117 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1118 label="%colorDefinition.label.14"
1119 value="105,114,124">
1120 </colorDefinition>
1121 <colorDefinition
1122 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1123 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1124 label="%colorDefinition.label.15"
1125 value="255,0,0">
1126 </colorDefinition>
1127 </extension>
1128 <extension
1129 point="org.eclipse.core.expressions.propertyTesters">
1130 <propertyTester
1131 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1132 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1133 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1134 properties="isCompatible"
1135 type="org.eclipse.jface.viewers.IStructuredSelection">
1136 </propertyTester>
1137 <propertyTester
1138 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1139 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1140 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1141 properties="test"
1142 type="org.eclipse.jface.viewers.IStructuredSelection">
1143 </propertyTester>
1144 <propertyTester
1145 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1146 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1147 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1148 properties="isShowExperimentalFeatures"
1149 type="org.eclipse.jface.viewers.IStructuredSelection">
1150 </propertyTester>
1151 <propertyTester
1152 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1153 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1154 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1155 properties="isModifiable"
1156 type="org.eclipse.jface.viewers.IStructuredSelection">
1157 </propertyTester>
1158 <propertyTester
1159 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1160 id="eu.etaxonomy.taxeditor.security.permissionTester"
1161 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1162 properties="hasPermissions, hasRoles"
1163 type="org.eclipse.jface.viewers.IStructuredSelection">
1164 </propertyTester>
1165 </extension>
1166 <extension
1167 point="org.eclipse.core.expressions.definitions">
1168 <definition
1169 id="isCompatible">
1170 <with
1171 variable="selection">
1172 <test
1173 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1174 </test>
1175 </with>
1176 </definition>
1177 <definition
1178 id="isShowExperimentalFeatures">
1179 <with
1180 variable="selection">
1181 <test
1182 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1183 </test>
1184 </with>
1185 </definition>
1186 <definition
1187 id="isModifiable">
1188 <with
1189 variable="selection">
1190 <test
1191 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1192 </test>
1193 </with>
1194 </definition>
1195 <definition
1196 id="canUPDATE">
1197 <with
1198 variable="selection">
1199 <test
1200 args="UPDATE"
1201 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1202 </test>
1203 </with>
1204 </definition>
1205 <definition
1206 id="canDELETE">
1207 <with
1208 variable="selection">
1209 <test
1210 args="DELETE"
1211 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1212 </test>
1213 </with>
1214 </definition>
1215 <definition
1216 id="canCREATE">
1217 <with
1218 variable="selection">
1219 <test
1220 args="CREATE"
1221 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1222 </test>
1223 </with>
1224 </definition>
1225 <definition
1226 id="isUserLoggedIn">
1227 <with
1228 variable="eu.etaxonomy.taxeditor.security.user">
1229 <instanceof
1230 value="eu.etaxonomy.cdm.model.common.User">
1231 </instanceof>
1232 </with>
1233 </definition>
1234 <definition
1235 id="hasROLE_USER_MANAGER">
1236 <with
1237 variable="eu.etaxonomy.taxeditor.security.userRoles">
1238 <iterate
1239 ifEmpty="false"
1240 operator="or">
1241 <or>
1242 <equals
1243 value="ROLE_ADMIN">
1244 </equals>
1245 <equals
1246 value="ROLE_USER_MANAGER">
1247 </equals>
1248 </or>
1249 </iterate>
1250 </with>
1251 </definition>
1252 <definition
1253 id="hasROLE_PROJECT_MANAGER">
1254 <with
1255 variable="eu.etaxonomy.taxeditor.security.userRoles">
1256 <iterate
1257 ifEmpty="false"
1258 operator="or">
1259 <or>
1260 <equals
1261 value="ROLE_ADMIN">
1262 </equals>
1263 <equals
1264 value="ROLE_PROJECT_MANAGER">
1265 </equals>
1266 </or>
1267 </iterate>
1268 </with>
1269 </definition>
1270 </extension>
1271 <extension
1272 point="org.eclipse.ui.activities">
1273 <activity
1274 description="%activity.description"
1275 id="eu.etaxonomy.taxeditor.store.activityDelete"
1276 name="%activity.name">
1277 <enabledWhen>
1278 <reference
1279 definitionId="canDELETE">
1280 </reference>
1281 </enabledWhen>
1282 </activity>
1283 <activityPatternBinding
1284 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1285 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1286 </activityPatternBinding>
1287 <activity
1288 description="%activity.description.0"
1289 id="eu.etaxonomy.taxeditor.store.activityUpdate"
1290 name="%activity.name.0">
1291 <enabledWhen>
1292 <reference
1293 definitionId="canUPDATE">
1294 </reference>
1295 </enabledWhen>
1296 </activity>
1297 <activityPatternBinding
1298 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1299 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1300 </activityPatternBinding>
1301 <activity
1302 description="%activity.description.1"
1303 id="eu.etaxonomy.taxeditor.store.activityCreate"
1304 name="%activity.name.1">
1305 <enabledWhen>
1306 <reference
1307 definitionId="canDELETE">
1308 </reference>
1309 </enabledWhen>
1310 </activity>
1311 <activityPatternBinding
1312 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1313 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1314 </activityPatternBinding>
1315 <activity
1316 description="%activity.description.2"
1317 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1318 name="%activity.name.2">
1319 <enabledWhen>
1320 <reference
1321 definitionId="hasROLE_USER_MANAGER">
1322 </reference>
1323 </enabledWhen>
1324 </activity>
1325 <activityPatternBinding
1326 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1327 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1328 </activityPatternBinding>
1329 <activityPatternBinding
1330 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1331 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1332 </activityPatternBinding>
1333 <activity
1334 description="%activity.description.3"
1335 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1336 name="%activity.name.3">
1337 <enabledWhen>
1338 <reference
1339 definitionId="hasROLE_PROJECT_MANAGER">
1340 </reference>
1341 </enabledWhen>
1342 </activity>
1343 <activityPatternBinding
1344 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1345 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1346 </activityPatternBinding>
1347 <activityPatternBinding
1348 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1349 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1350 isEqualityPattern="true">
1351 </activityPatternBinding>
1352 <activityPatternBinding
1353 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1354 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1355 isEqualityPattern="true">
1356 </activityPatternBinding>
1357 </extension>
1358 <extension
1359 point="org.eclipse.ui.services">
1360 <sourceProvider
1361 provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1362 <variable
1363 name="eu.etaxonomy.taxeditor.security.userRoles"
1364 priorityLevel="workbench">
1365 </variable>
1366 </sourceProvider>
1367 </extension>
1368 </plugin>