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