Merge branch 'develop' into remoting-4.0
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="%extension-point.name" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
5 <extension
6 point="org.eclipse.ui.preferencePages">
7 <page
8 class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
9 id="eu.etaxonomy.taxeditor.preferences.general"
10 name="%page.name">
11 </page>
12 <page
13 category="eu.etaxonomy.taxeditor.preferences.general"
14 class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
15 id="eu.etaxonomy.taxeditor.preferences.description"
16 name="%page.name.0">
17 </page>
18 <page
19 category="eu.etaxonomy.taxeditor.preferences.description"
20 class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
21 id="eu.etaxonomy.taxeditor.preferences.feature"
22 name="%page.name.1">
23 </page>
24 <page
25 category="eu.etaxonomy.taxeditor.preferences.description"
26 class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
27 id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
28 name="%page.name.2">
29 </page>
30 <page
31 category="eu.etaxonomy.taxeditor.preferences.general"
32 class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
33 id="eu.etaxonomy.taxeditor.preferences.taxonomic"
34 name="%page.name.3">
35 </page>
36 <page
37 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
38 class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
39 id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
40 name="%page.name.4">
41 </page>
42 <!--page
43 class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
44 id="eu.etaxonomy.taxeditor.preferences.cdm"
45 name="CDM Datastore">
46 </page>
47 <page
48 category="eu.etaxonomy.taxeditor.preferences.cdm"
49 class="eu.etaxonomy.taxeditor.store.preference.InitializeDbPreferences"
50 id="eu.etaxonomy.taxeditor.preferences.initdb"
51 name="Initialize Datastore">
52 </page-->
53 <page
54 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
55 class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
56 id="eu.etaxonomy.taxeditor.preferences.ranks"
57 name="%page.name.5">
58 </page>
59 <page
60 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
61 class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
62 id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
63 name="%page.name.6">
64 </page>
65 <page
66 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
67 class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
68 id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
69 name="%page.name.7">
70 </page>
71 <page
72 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
73 class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
74 id="taxeditor-store.page1"
75 name="%page.name.8">
76 </page>
77 <page
78 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
79 class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
80 id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
81 name="%page.name.9">
82 </page>
83 <page
84 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
85 class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
86 id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
87 name="%page.name.13">
88 </page>
89 <page
90 category="eu.etaxonomy.taxeditor.preferences.language"
91 class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
92 id="eu.etaxonomy.taxeditor.preferences.languages"
93 name="%page.name.10">
94 </page>
95 <page
96 category="eu.etaxonomy.taxeditor.preferences.general"
97 class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
98 id="eu.etaxonomy.taxeditor.preferences.markerTypes"
99 name="%page.name.11">
100 </page>
101 <page
102 category="eu.etaxonomy.taxeditor.preferences.general"
103 class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
104 id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
105 name="%page.name.12">
106 </page>
107 <page
108 category="eu.etaxonomy.taxeditor.preferences.description"
109 class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
110 id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
111 name="%page.name.14">
112 </page>
113 <page
114 category="eu.etaxonomy.taxeditor.preferences.general"
115 class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
116 id="eu.etaxonomy.taxeditor.preferences.matching"
117 name="%page.name.15">
118 </page>
119 <page
120 category="eu.etaxonomy.taxeditor.preferences.matching"
121 class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
122 id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
123 name="%page.name.16">
124 </page>
125 <page
126 category="eu.etaxonomy.taxeditor.preferences.matching"
127 class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
128 id="eu.etaxonomy.taxeditor.preferences.matching"
129 name="%page.name.17">
130 </page>
131 <page
132 category="eu.etaxonomy.taxeditor.preferences.matching"
133 class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
134 id="eu.etaxonomy.taxeditor.preferences.matching"
135 name="%page.name.18">
136 </page>
137 <page
138 category="eu.etaxonomy.taxeditor.preferences.description"
139 class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
140 id="eu.etaxonomy.taxeditor.preferences.stage"
141 name="%page.name.19">
142 </page>
143 <page
144 category="eu.etaxonomy.taxeditor.preferences.description"
145 class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
146 id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
147 name="%page.name.20">
148 </page>
149 <page
150 category="eu.etaxonomy.taxeditor.preferences.feature"
151 class="eu.etaxonomy.taxeditor.preference.FeatureTreePreferences"
152 id="eu.etaxonomy.taxeditor.preferences.featureTree"
153 name="%page.name.21">
154 </page>
155 <page
156 category="eu.etaxonomy.taxeditor.preferences.feature"
157 class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
158 id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
159 name="%page.name.22">
160 </page>
161 <page
162 category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
163 class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
164 id="eu.etaxonomy.taxeditor.preferences.language"
165 name="%page.name.23">
166 </page>
167 <page
168 category="eu.etaxonomy.taxeditor.preferences.general"
169 class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
170 id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
171 name="%page.name.24">
172 </page>
173 <page
174 category="eu.etaxonomy.taxeditor.preferences.general"
175 class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
176 id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
177 name="%page.name.25">
178 </page>
179 <page
180 category="eu.etaxonomy.taxeditor.preferences.general"
181 class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
182 id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
183 name="%page.name.26">
184 </page>
185 <page
186 category="eu.etaxonomy.taxeditor.preferences.general"
187 class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
188 id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
189 name="%page.name.27">
190 </page>
191 <page
192 category="eu.etaxonomy.taxeditor.preferences.general"
193 class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
194 id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
195 name="%page.name.28">
196 </page>
197 <page
198 category="eu.etaxonomy.taxeditor.preferences.general"
199 class="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
200 id="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
201 name="%page.name.29">
202 </page>
203 <page
204 category="eu.etaxonomy.taxeditor.preferences.general"
205 class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
206 id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
207 name="%page.name.30">
208 </page>
209 <page
210 category="eu.etaxonomy.taxeditor.preferences.general"
211 class="eu.etaxonomy.taxeditor.preference.OrderPreferences"
212 id="eu.etaxonomy.taxeditor.preference.OrderPreferencesPage"
213 name="%page.name.31">
214 </page>
215 </extension>
216 <extension
217 point="org.eclipse.ui.views">
218 <view
219 class="eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart"
220 icon="icons/system-file-manager.png"
221 id="eu.etaxonomy.taxeditor.view.datasource"
222 name="%view.name"
223 restorable="true">
224 </view>
225 <view
226 name="%view.name.0"
227 category="org.eclipse.ui"
228 class="org.eclipse.ui.ExtensionFactory:progressView"
229 id="org.eclipse.ui.views.ProgressView">
230 </view>
231 <view
232 name="%view.name.1"
233 icon="icons/console.gif"
234 category="org.eclipse.ui"
235 class="org.eclipse.ui.ExtensionFactory:logView"
236 id="org.eclipse.ui.views.LogView">
237 </view>
238 <view
239 class="eu.etaxonomy.taxeditor.view.reporting.ReportingViewPart"
240 id="eu.etaxonomy.taxeditor.reporting.viewPart"
241 name="%view.name.2"
242 restorable="true">
243 </view>
244 <view
245 allowMultiple="false"
246 class="eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart"
247 icon="icons/applications-office.png"
248 id="eu.etaxonomy.taxeditor.view.supplementalData"
249 name="%view.name.3"
250 restorable="true">
251 </view>
252 <view
253 allowMultiple="false"
254 class="eu.etaxonomy.taxeditor.view.detail.DetailsViewPart"
255 icon="icons/accessories-text-editor.png"
256 id="eu.etaxonomy.taxeditor.view.detail"
257 name="%view.name.4"
258 restorable="true">
259 </view>
260 <view
261 class="eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart"
262 icon="icons/leaf_detail.png"
263 id="eu.etaxonomy.taxeditor.view.userecords"
264 name="%view.name.5"
265 restorable="true">
266 </view>
267 <view
268 class="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
269 icon="icons/derivate_search_view-16x16-32.png"
270 id="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
271 name="%view.name.6"
272 restorable="true">
273 </view>
274 <view
275 allowMultiple="false"
276 class="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
277 id="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
278 name="Sessions"
279 restorable="false">
280 </view>
281 </extension>
282 <extension
283 point="org.eclipse.ui.editors">
284 <editor
285 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
286 default="false"
287 id="eu.etaxonomy.taxeditor.editor.definedTerm"
288 name="%editor.name">
289 </editor>
290 </extension>
291 <extension
292 point="org.eclipse.ui.menus">
293 <menuContribution
294 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
295 <menu
296 id="eu.etaxonomy.taxeditor.menu.showView"
297 label="%menu.label">
298 <command
299 commandId="org.eclipse.ui.views.showView"
300 label="%command.label"
301 style="push">
302 <parameter
303 name="org.eclipse.ui.views.showView.viewId"
304 value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
305 </parameter>
306 </command>
307 <separator
308 name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
309 visible="true">
310 </separator>
311 <command
312 commandId="org.eclipse.ui.views.showView"
313 label="%command.label.0"
314 style="push">
315 <parameter
316 name="org.eclipse.ui.views.showView.viewId"
317 value="eu.etaxonomy.taxeditor.view.detail">
318 </parameter>
319 </command>
320 <command
321 commandId="org.eclipse.ui.views.showView"
322 id="org.eclipse.ui.views.showView.supplemental"
323 label="%command.label.1"
324 style="push">
325 <parameter
326 name="org.eclipse.ui.views.showView.viewId"
327 value="eu.etaxonomy.taxeditor.view.supplementalData">
328 </parameter>
329 </command>
330 <!-- Originally used by validation framework, currently not in use -->
331 <!-- <command
332 id="org.eclipse.ui.views.showView.problems"
333 commandId="org.eclipse.ui.views.showView"
334 label="Problems"
335 style="push">
336 <parameter
337 name="org.eclipse.ui.views.showView.viewId"
338 value="org.eclipse.ui.views.ProblemView">
339 </parameter>
340 </command> -->
341 <separator
342 name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
343 visible="true">
344 </separator>
345 <command
346 commandId="org.eclipse.ui.views.showView"
347 label="%command.label.2"
348 style="push">
349 <parameter
350 name="org.eclipse.ui.views.showView.viewId"
351 value="eu.etaxonomy.taxeditor.view.datasource">
352 </parameter>
353 </command>
354 <command
355 commandId="org.eclipse.ui.views.showView"
356 label="%command.label.3"
357 style="push">
358 <parameter
359 name="org.eclipse.ui.views.showView.viewId"
360 value="org.eclipse.pde.runtime.LogView">
361 </parameter>
362 </command>
363 <command
364 commandId="org.eclipse.ui.views.showView"
365 label="%command.label.4"
366 style="push">
367 <parameter
368 name="org.eclipse.ui.views.showView.viewId"
369 value="eu.etaxonomy.taxeditor.reporting.viewPart">
370 </parameter>
371 <visibleWhen
372 checkEnabled="true">
373 <reference
374 definitionId="isShowExperimentalFeatures">
375 </reference>
376 </visibleWhen>
377 </command>
378 <command
379 commandId="org.eclipse.ui.views.showView"
380 label="Sessions"
381 style="push">
382 <parameter
383 name="org.eclipse.ui.views.showView.viewId"
384 value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
385 </parameter>
386 </command>
387 </menu>
388 </menuContribution>
389 <menuContribution
390 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
391 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
392 </menuContribution>
393 <menuContribution
394 locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
395 <command
396 commandId="eu.etaxonomy.taxeditor.store.operations.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 </extension>
759 <extension
760 point="org.eclipse.ui.importWizards">
761 <category
762 id="eu.etaxonomy.taxeditor.import.category.cdm"
763 name="%category.name">
764 </category>
765 <wizard
766 category="eu.etaxonomy.taxeditor.import.category.cdm"
767 class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
768 id="eu.etaxonomy.taxeditor.io.import.tcs"
769 name="%wizard.name">
770 </wizard>
771 <!-- <wizard
772 category="eu.etaxonomy.taxeditor.import.category.cdm"
773 class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
774 id="eu.etaxonomy.taxeditor.io.import.jaxb"
775 name="JAXB">
776 </wizard> -->
777 <!-- <wizard
778 category="eu.etaxonomy.taxeditor.import.category.cdm"
779 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
780 id="eu.etaxonomy.taxeditor.io.import.berlinModel"
781 name="%wizard.name.0">
782 </wizard>
783 <wizard
784 category="eu.etaxonomy.taxeditor.import.category.cdm"
785 class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
786 id="eu.etaxonomy.taxeditor.io.import.endnote"
787 name="%wizard.name.1">
788 </wizard>-->
789 <wizard
790 category="eu.etaxonomy.taxeditor.import.category.cdm"
791 class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
792 id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
793 name="%wizard.name.2">
794 </wizard>
795 <wizard
796 category="eu.etaxonomy.taxeditor.import.category.cdm"
797 class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
798 id="eu.etaxonomy.taxeditor.io.import.abcd"
799 name="%wizard.name.3">
800 </wizard>
801 <wizard
802 category="eu.etaxonomy.taxeditor.import.category.cdm"
803 class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
804 id="eu.etaxonomy.taxeditor.io.import.sdd"
805 name="%wizard.name.4">
806 </wizard>
807 <wizard
808 category="eu.etaxonomy.taxeditor.import.category.cdm"
809 class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
810 id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
811 name="%wizard.name.5">
812 </wizard>
813 </extension>
814 <extension
815 point="org.eclipse.ui.exportWizards">
816 <category
817 id="eu.etaxonomy.taxeditor.export.category.cdm"
818 name="%category.name.0">
819 </category>
820 <wizard
821 category="eu.etaxonomy.taxeditor.export.category.cdm"
822 class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
823 id="eu.etaxonomy.taxeditor.io.export.jaxb"
824 name="%wizard.name.6">
825 </wizard>
826 <!--<wizard
827 category="eu.etaxonomy.taxeditor.export.category.cdm"
828 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
829 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
830 name="%wizard.name.7">
831 </wizard>-->
832 <category
833 id="eu.etaxonomy.taxeditor.export.category.excel"
834 name="%category.name.1">
835 </category>
836 <wizard
837 category="eu.etaxonomy.taxeditor.export.category.cdm"
838 class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
839 id="eu.etaxonomy.taxeditor.io.export.sdd"
840 name="%wizard.name.8">
841 </wizard>
842 <wizard
843 category="eu.etaxonomy.taxeditor.export.category.cdm"
844 class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
845 id="eu.etaxonomy.taxeditor.io.export.dwca"
846 name="%wizard.name.9">
847 </wizard>
848 <wizard
849 category="eu.etaxonomy.taxeditor.export.category.cdm"
850 class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
851 id="eu.etaxonomy.taxeditor.io.export.csv"
852 name="%wizard.name.18">
853 </wizard>
854 <wizard
855 category="eu.etaxonomy.taxeditor.export.category.cdm"
856 class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
857 id="eu.etaxonomy.taxeditor.io.export.csv_name"
858 name="%wizard.name.19">
859 </wizard>
860 <wizard
861 category="eu.etaxonomy.taxeditor.export.category.cdm"
862 class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
863 id="eu.etaxonomy.taxeditor.io.export.csv_print"
864 name="%wizard.name.20">
865 </wizard>
866 </extension>
867 <extension
868 point="org.eclipse.ui.newWizards">
869 <wizard
870 category="eu.etaxonomy.taxeditor.new.category.cdm"
871 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
872 hasPages="true"
873 id="eu.etaxonomy.taxeditor.new.reference"
874 name="%wizard.name.10">
875 </wizard>
876 <wizard
877 category="eu.etaxonomy.taxeditor.new.category.cdm"
878 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
879 hasPages="true"
880 id="eu.etaxonomy.taxeditor.new.nonViralName"
881 name="%wizard.name.11">
882 </wizard>
883 <wizard
884 category="eu.etaxonomy.taxeditor.new.category.cdm"
885 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
886 hasPages="true"
887 id="eu.etaxonomy.taxeditor.new.team"
888 name="%wizard.name.12">
889 </wizard>
890 <wizard
891 category="eu.etaxonomy.taxeditor.new.category.cdm"
892 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
893 hasPages="true"
894 id="eu.etaxonomy.taxeditor.new.person"
895 name="%wizard.name.13">
896 </wizard>
897 <wizard
898 category="eu.etaxonomy.taxeditor.new.category.cdm"
899 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
900 hasPages="true"
901 id="eu.etaxonomy.taxeditor.new.specimen"
902 name="%wizard.name.14">
903 </wizard>
904 <wizard
905 category="eu.etaxonomy.taxeditor.new.category.cdm"
906 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
907 hasPages="true"
908 id="eu.etaxonomy.taxeditor.new.key.polytomous"
909 name="%wizard.name.15">
910 </wizard>
911 <category
912 id="eu.etaxonomy.taxeditor.new.category.cdm"
913 name="%category.name.2">
914 </category>
915 <wizard
916 category="eu.etaxonomy.taxeditor.new.category.cdm"
917 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
918 hasPages="true"
919 id="eu.etaxonomy.taxeditor.new.taxonNode"
920 name="%wizard.name.16">
921 </wizard>
922 <wizard
923 category="eu.etaxonomy.taxeditor.new.category.cdm"
924 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
925 hasPages="true"
926 icon="icons/tree_icon_small.jpg"
927 id="eu.etaxonomy.taxeditor.new.classification"
928 name="%wizard.name.17">
929 </wizard>
930 </extension>
931 <extension
932 point="org.eclipse.ui.themes">
933 <themeElementCategory
934 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
935 label="%themeElementCategory.label">
936 <description>
937 %themeElementCategory.description
938 </description>
939 </themeElementCategory>
940 <colorDefinition
941 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
942 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
943 label="%colorDefinition.label"
944 value="150,150,150">
945 </colorDefinition>
946 <colorDefinition
947 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
948 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
949 label="%colorDefinition.label.0"
950 value="0,0,0">
951 </colorDefinition>
952 <colorDefinition
953 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
954 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
955 label="%colorDefinition.label.1"
956 value="255,255,255">
957 </colorDefinition>
958 <colorDefinition
959 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
960 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
961 label="%colorDefinition.label.2"
962 value="241,139,18">
963 </colorDefinition>
964 <colorDefinition
965 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
966 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
967 label="%colorDefinition.label.3"
968 value="150,150,150">
969 </colorDefinition>
970 <colorDefinition
971 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
972 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
973 label="%colorDefinition.label.4"
974 value="230,230,230">
975 </colorDefinition>
976 <themeElementCategory
977 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
978 label="%themeElementCategory.label.0"
979 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
980 <description>
981 %themeElementCategory.description.0
982 </description>
983 </themeElementCategory>
984 <colorDefinition
985 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
986 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
987 label="%colorDefinition.label.5"
988 value="230,230,230">
989 </colorDefinition>
990 <colorDefinition
991 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
992 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
993 label="%colorDefinition.label.6"
994 value="255,255,255">
995 </colorDefinition>
996 <themeElementCategory
997 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
998 label="%themeElementCategory.label.1"
999 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1000 <description>
1001 %themeElementCategory.description.1
1002 </description>
1003 </themeElementCategory>
1004 <colorDefinition
1005 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1006 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
1007 label="%colorDefinition.label.7"
1008 value="220, 220, 220">
1009 </colorDefinition>
1010 <colorDefinition
1011 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1012 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
1013 label="%colorDefinition.label.8"
1014 value="232,242,254">
1015 </colorDefinition>
1016 <colorDefinition
1017 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1018 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
1019 label="%colorDefinition.label.9"
1020 value="210, 210, 210">
1021 </colorDefinition>
1022 <colorDefinition
1023 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1024 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
1025 label="%colorDefinition.label.10"
1026 value="185,255,133">
1027 </colorDefinition>
1028 <fontDefinition
1029 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1030 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
1031 label="%fontDefinition.label"
1032 value="Georgia-regular-12">
1033 </fontDefinition>
1034 <fontDefinition
1035 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1036 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
1037 label="%fontDefinition.label.0"
1038 value="Georgia-regular-10">
1039 </fontDefinition>
1040 <fontDefinition
1041 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1042 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
1043 label="%fontDefinition.label.1"
1044 value="Georgia-regular-10">
1045 </fontDefinition>
1046 <fontDefinition
1047 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1048 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
1049 label="%fontDefinition.label.2"
1050 value="Georgia-regular-10">
1051 </fontDefinition>
1052 <fontDefinition
1053 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1054 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
1055 label="%fontDefinition.label.3"
1056 value="Georgia-regular-10">
1057 </fontDefinition>
1058 <themeElementCategory
1059 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1060 label="%themeElementCategory.label.2"
1061 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1062 <description>
1063 %themeElementCategory.description.2
1064 </description>
1065 </themeElementCategory>
1066 <colorDefinition
1067 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1068 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1069 label="%colorDefinition.label.11"
1070 value="192, 192, 192">
1071 </colorDefinition>
1072 <colorDefinition
1073 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1074 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1075 label="%colorDefinition.label.12"
1076 value="0, 0, 0">
1077 </colorDefinition>
1078 <fontDefinition
1079 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1080 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1081 isEditable="true"
1082 label="%fontDefinition.label.4"
1083 value="Arial-regular-10">
1084 <description>
1085 %fontDefinition.description
1086 </description>
1087 </fontDefinition>
1088 <fontDefinition
1089 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1090 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1091 isEditable="true"
1092 label="%fontDefinition.label.5"
1093 value="Arial-italic-10">
1094 <description>
1095 %fontDefinition.description.0
1096 </description>
1097 </fontDefinition>
1098 <fontDefinition
1099 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1100 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1101 isEditable="true"
1102 label="%fontDefinition.label.6"
1103 value="Lucida Grande-regular-11">
1104 <description>
1105 %fontDefinition.description.1
1106 </description>
1107 </fontDefinition>
1108 <colorDefinition
1109 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1110 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1111 label="%colorDefinition.label.13"
1112 value="255,0,0">
1113 </colorDefinition>
1114 <colorDefinition
1115 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1116 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1117 label="%colorDefinition.label.14"
1118 value="105,114,124">
1119 </colorDefinition>
1120 <colorDefinition
1121 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1122 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1123 label="%colorDefinition.label.15"
1124 value="255,0,0">
1125 </colorDefinition>
1126 </extension>
1127 <extension
1128 point="org.eclipse.core.expressions.propertyTesters">
1129 <propertyTester
1130 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1131 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1132 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1133 properties="isCompatible"
1134 type="org.eclipse.jface.viewers.IStructuredSelection">
1135 </propertyTester>
1136 <propertyTester
1137 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1138 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1139 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1140 properties="test"
1141 type="org.eclipse.jface.viewers.IStructuredSelection">
1142 </propertyTester>
1143 <propertyTester
1144 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1145 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1146 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1147 properties="isShowExperimentalFeatures"
1148 type="org.eclipse.jface.viewers.IStructuredSelection">
1149 </propertyTester>
1150 <propertyTester
1151 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1152 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1153 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1154 properties="isModifiable"
1155 type="org.eclipse.jface.viewers.IStructuredSelection">
1156 </propertyTester>
1157 <propertyTester
1158 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1159 id="eu.etaxonomy.taxeditor.security.permissionTester"
1160 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1161 properties="hasPermissions, hasRoles"
1162 type="org.eclipse.jface.viewers.IStructuredSelection">
1163 </propertyTester>
1164 </extension>
1165 <extension
1166 point="org.eclipse.core.expressions.definitions">
1167 <definition
1168 id="isCompatible">
1169 <with
1170 variable="selection">
1171 <test
1172 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1173 </test>
1174 </with>
1175 </definition>
1176 <definition
1177 id="isShowExperimentalFeatures">
1178 <with
1179 variable="selection">
1180 <test
1181 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1182 </test>
1183 </with>
1184 </definition>
1185 <definition
1186 id="isModifiable">
1187 <with
1188 variable="selection">
1189 <test
1190 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1191 </test>
1192 </with>
1193 </definition>
1194 <definition
1195 id="canUPDATE">
1196 <with
1197 variable="selection">
1198 <test
1199 args="UPDATE"
1200 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1201 </test>
1202 </with>
1203 </definition>
1204 <definition
1205 id="canDELETE">
1206 <with
1207 variable="selection">
1208 <test
1209 args="DELETE"
1210 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1211 </test>
1212 </with>
1213 </definition>
1214 <definition
1215 id="canCREATE">
1216 <with
1217 variable="selection">
1218 <test
1219 args="CREATE"
1220 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1221 </test>
1222 </with>
1223 </definition>
1224 <definition
1225 id="isUserLoggedIn">
1226 <with
1227 variable="eu.etaxonomy.taxeditor.security.user">
1228 <instanceof
1229 value="eu.etaxonomy.cdm.model.common.User">
1230 </instanceof>
1231 </with>
1232 </definition>
1233 <definition
1234 id="hasROLE_USER_MANAGER">
1235 <with
1236 variable="eu.etaxonomy.taxeditor.security.userRoles">
1237 <iterate
1238 ifEmpty="false"
1239 operator="or">
1240 <or>
1241 <equals
1242 value="ROLE_ADMIN">
1243 </equals>
1244 <equals
1245 value="ROLE_USER_MANAGER">
1246 </equals>
1247 </or>
1248 </iterate>
1249 </with>
1250 </definition>
1251 <definition
1252 id="hasROLE_PROJECT_MANAGER">
1253 <with
1254 variable="eu.etaxonomy.taxeditor.security.userRoles">
1255 <iterate
1256 ifEmpty="false"
1257 operator="or">
1258 <or>
1259 <equals
1260 value="ROLE_ADMIN">
1261 </equals>
1262 <equals
1263 value="ROLE_PROJECT_MANAGER">
1264 </equals>
1265 </or>
1266 </iterate>
1267 </with>
1268 </definition>
1269 </extension>
1270 <extension
1271 point="org.eclipse.ui.activities">
1272 <activity
1273 description="%activity.description"
1274 id="eu.etaxonomy.taxeditor.store.activityDelete"
1275 name="%activity.name">
1276 <enabledWhen>
1277 <reference
1278 definitionId="canDELETE">
1279 </reference>
1280 </enabledWhen>
1281 </activity>
1282 <activityPatternBinding
1283 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1284 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1285 </activityPatternBinding>
1286 <activity
1287 description="%activity.description.0"
1288 id="eu.etaxonomy.taxeditor.store.activityUpdate"
1289 name="%activity.name.0">
1290 <enabledWhen>
1291 <reference
1292 definitionId="canUPDATE">
1293 </reference>
1294 </enabledWhen>
1295 </activity>
1296 <activityPatternBinding
1297 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1298 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1299 </activityPatternBinding>
1300 <activity
1301 description="%activity.description.1"
1302 id="eu.etaxonomy.taxeditor.store.activityCreate"
1303 name="%activity.name.1">
1304 <enabledWhen>
1305 <reference
1306 definitionId="canDELETE">
1307 </reference>
1308 </enabledWhen>
1309 </activity>
1310 <activityPatternBinding
1311 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1312 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1313 </activityPatternBinding>
1314 <activity
1315 description="%activity.description.2"
1316 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1317 name="%activity.name.2">
1318 <enabledWhen>
1319 <reference
1320 definitionId="hasROLE_USER_MANAGER">
1321 </reference>
1322 </enabledWhen>
1323 </activity>
1324 <activityPatternBinding
1325 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1326 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1327 </activityPatternBinding>
1328 <activityPatternBinding
1329 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1330 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1331 </activityPatternBinding>
1332 <activity
1333 description="%activity.description.3"
1334 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1335 name="%activity.name.3">
1336 <enabledWhen>
1337 <reference
1338 definitionId="hasROLE_PROJECT_MANAGER">
1339 </reference>
1340 </enabledWhen>
1341 </activity>
1342 <activityPatternBinding
1343 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1344 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1345 </activityPatternBinding>
1346 <activityPatternBinding
1347 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1348 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1349 isEqualityPattern="true">
1350 </activityPatternBinding>
1351 <activityPatternBinding
1352 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1353 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1354 isEqualityPattern="true">
1355 </activityPatternBinding>
1356 </extension>
1357 <extension
1358 point="org.eclipse.ui.services">
1359 <sourceProvider
1360 provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1361 <variable
1362 name="eu.etaxonomy.taxeditor.security.userRoles"
1363 priorityLevel="workbench">
1364 </variable>
1365 </sourceProvider>
1366 </extension>
1367 </plugin>