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