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