3e23d6cc7d54b7e7b1356315bc0543a76f913ac7
[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 <!--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="%view.name.SESSIONS"
272 restorable="false">
273 </view>
274 </extension>
275 <extension
276 point="org.eclipse.ui.editors">
277 <editor
278 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
279 default="false"
280 id="eu.etaxonomy.taxeditor.editor.definedTerm"
281 name="%editor.name">
282 </editor>
283 </extension>
284 <extension
285 point="org.eclipse.ui.menus">
286 <menuContribution
287 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
288 <menu
289 id="eu.etaxonomy.taxeditor.menu.showView"
290 label="%menu.label">
291 <command
292 commandId="org.eclipse.ui.views.showView"
293 id="eu.etaxonomy.taxeditor.store.showViewMenu.details"
294 label="%command.label.0"
295 style="push">
296 <parameter
297 name="org.eclipse.ui.views.showView.viewId"
298 value="eu.etaxonomy.taxeditor.view.detail">
299 </parameter>
300 <visibleWhen
301 checkEnabled="true">
302 <reference
303 definitionId="isCdmStoreConnected">
304 </reference>
305 </visibleWhen>
306 </command>
307 <command
308 commandId="org.eclipse.ui.views.showView"
309 id="org.eclipse.ui.views.showView.supplemental"
310 label="%command.label.1"
311 style="push">
312 <parameter
313 name="org.eclipse.ui.views.showView.viewId"
314 value="eu.etaxonomy.taxeditor.view.supplementalData">
315 </parameter>
316 <visibleWhen
317 checkEnabled="true">
318 <reference
319 definitionId="isCdmStoreConnected">
320 </reference>
321 </visibleWhen>
322 </command>
323 <!-- Originally used by validation framework, currently not in use -->
324 <!-- <command
325 id="org.eclipse.ui.views.showView.problems"
326 commandId="org.eclipse.ui.views.showView"
327 label="Problems"
328 style="push">
329 <parameter
330 name="org.eclipse.ui.views.showView.viewId"
331 value="org.eclipse.ui.views.ProblemView">
332 </parameter>
333 </command> -->
334 <separator
335 name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
336 visible="true">
337 </separator>
338 <command
339 commandId="org.eclipse.ui.views.showView"
340 label="%command.label.2"
341 style="push">
342 <parameter
343 name="org.eclipse.ui.views.showView.viewId"
344 value="eu.etaxonomy.taxeditor.view.datasource">
345 </parameter>
346 </command>
347 <command
348 commandId="org.eclipse.ui.views.showView"
349 label="%command.label.3"
350 style="push">
351 <parameter
352 name="org.eclipse.ui.views.showView.viewId"
353 value="org.eclipse.pde.runtime.LogView">
354 </parameter>
355 </command>
356 <command
357 commandId="org.eclipse.ui.views.showView"
358 label="%command.label.4"
359 style="push">
360 <parameter
361 name="org.eclipse.ui.views.showView.viewId"
362 value="eu.etaxonomy.taxeditor.reporting.viewPart">
363 </parameter>
364 <visibleWhen
365 checkEnabled="true">
366 <and>
367 <reference
368 definitionId="isShowExperimentalFeatures">
369 </reference>
370 <reference
371 definitionId="isCdmStoreConnected">
372 </reference>
373 </and>
374 </visibleWhen>
375 </command>
376 <command
377 commandId="org.eclipse.ui.views.showView"
378 label="%command.label.SESSION"
379 style="push">
380 <parameter
381 name="org.eclipse.ui.views.showView.viewId"
382 value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
383 </parameter>
384 <visibleWhen
385 checkEnabled="true">
386 <reference
387 definitionId="isCdmStoreConnected">
388 </reference>
389 </visibleWhen>
390 </command>
391 </menu>
392 </menuContribution>
393 <menuContribution
394 allPopups="false"
395 locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
396 <dynamic
397 class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu"
398 id="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu">
399 <visibleWhen
400 checkEnabled="true">
401 <reference
402 definitionId="isCdmStoreConnected">
403 </reference>
404 </visibleWhen>
405 </dynamic>
406 </menuContribution>
407 <menuContribution
408 locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
409 <command
410 commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
411 label="%command.label.CONNECT"
412 style="push">
413 </command>
414 <command
415 commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
416 label="%command.label.5"
417 style="push">
418 <visibleWhen
419 checkEnabled="true">
420 <reference
421 definitionId="isUserLoggedIn">
422 </reference>
423 </visibleWhen>
424 </command>
425 <command
426 commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
427 label="%command.label.RE_CONNECT"
428 style="push">
429 <visibleWhen
430 checkEnabled="true">
431 <reference
432 definitionId="isUserLoggedIn">
433 </reference>
434 </visibleWhen>
435 </command>
436 <separator
437 name="eu.etaxonomy.taxeditor.application.filemenu.login"
438 visible="true">
439 </separator>
440 </menuContribution>
441 <menuContribution
442 locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
443 <command
444 commandId="eu.etaxonomy.taxeditor.store.datasource.change"
445 label="%command.label.6"
446 style="push">
447 <visibleWhen>
448 <with
449 variable="selection">
450 <not>
451 <test
452 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
453 </test>
454 </not>
455 </with>
456 </visibleWhen>
457 </command>
458 <command
459 commandId="eu.etaxonomy.taxeditor.store.datasource.create"
460 label="%command.label.7"
461 style="push">
462 </command>
463 <command
464 commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
465 label="%command.label.8"
466 style="push">
467 <visibleWhen>
468 <with
469 variable="selection">
470 <not>
471 <test
472 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
473 </test>
474 </not>
475 </with>
476 </visibleWhen>
477 </command>
478 <command
479 commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
480 label="%command.label.clone"
481 style="push">
482 <visibleWhen>
483 <with
484 variable="selection">
485 <not>
486 <test
487 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
488 </test>
489 </not>
490 </with>
491 </visibleWhen>
492 </command>
493 <separator
494 name="eu.etaxonomy.taxeditor.store.datasource.separator"
495 visible="true">
496 </separator>
497 <command
498 commandId="eu.etaxonomy.taxeditor.view.datasource.delete"
499 label="%command.label.9"
500 style="push">
501 <visibleWhen>
502 <with
503 variable="selection">
504 <not>
505 <test
506 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
507 </test>
508 </not>
509 </with>
510 </visibleWhen>
511 </command>
512 <separator
513 name="eu.etaxonomy.taxeditor.store.datasource.separator2"
514 visible="true">
515 </separator>
516 <command
517 commandId="eu.etaxonomy.taxeditor.store.datasource.close"
518 label="%command.label.10"
519 style="push">
520 <visibleWhen>
521 <with
522 variable="selection">
523 <not>
524 <test
525 property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
526 </test>
527 </not>
528 </with>
529 </visibleWhen>
530 </command>
531 <command
532 commandId="eu.etaxonomy.taxeditor.store.datasource.update"
533 label="%command.label.11"
534 style="push">
535 <visibleWhen
536 checkEnabled="true">
537 <not>
538 <reference
539 definitionId="isCompatible">
540 </reference>
541 </not>
542 </visibleWhen>
543
544 </command>
545 </menuContribution>
546 <menuContribution
547 locationURI="toolbar:org.eclipse.ui.trim.status">
548 <toolbar
549 id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
550 <control
551 class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
552 </control>
553 </toolbar>
554 </menuContribution>
555 <menuContribution
556 locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
557 <menu
558 label="%menu.label.0">
559 <command
560 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
561 label="%command.label.12"
562 style="push">
563 </command>
564 <command
565 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
566 label="%command.label.13"
567 style="push">
568 <visibleWhen
569 checkEnabled="true">
570 <reference
571 definitionId="isModifiable">
572 </reference>
573 </visibleWhen>
574 </command>
575 </menu>
576 <command
577 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
578 label="%command.label.14"
579 style="push">
580 <visibleWhen
581 checkEnabled="true">
582 <reference
583 definitionId="isModifiable">
584 </reference>
585 </visibleWhen>
586 </command>
587 </menuContribution>
588 </extension>
589 <extension
590 point="org.eclipse.ui.handlers">
591 <handler
592 class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
593 commandId="eu.etaxonomy.taxeditor.view.datasource.delete">
594 <activeWhen>
595 <with
596 variable="activePartId">
597 <equals
598 value="eu.etaxonomy.taxeditor.view.datasource">
599 </equals>
600 </with>
601 </activeWhen>
602 </handler>
603 <handler
604 class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
605 commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete">
606 <activeWhen>
607 <with
608 variable="activePartId">
609 <equals
610 value="eu.etaxonomy.taxeditor.editor.definedTerm">
611 </equals>
612 </with>
613 </activeWhen>
614 </handler>
615 <handler
616 class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
617 commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
618 <activeWhen>
619 <reference
620 definitionId="hasROLE_PROJECT_MANAGER">
621 </reference>
622 </activeWhen>
623 </handler>
624 <handler
625 class="eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler"
626 commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow">
627 </handler>
628 <handler
629 class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
630 commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
631 <enabledWhen>
632 <reference
633 definitionId="isUserLoggedIn">
634 </reference></enabledWhen>
635 </handler>
636 <handler
637 class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
638 commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
639 <activeWhen>
640 <reference
641 definitionId="hasROLE_PROJECT_MANAGER">
642 </reference>
643 </activeWhen>
644 </handler>
645 <handler
646 class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
647 commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
648 <activeWhen>
649 <reference
650 definitionId="isRemoting">
651 </reference>
652 </activeWhen>
653 </handler>
654 </extension>
655 <extension
656 name="%extension.name.0"
657 point="org.eclipse.ui.commands">
658 <command
659 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
660 id="eu.etaxonomy.taxeditor.store.datasource.change"
661 name="%command.name">
662 </command>
663 <command
664 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
665 id="eu.etaxonomy.taxeditor.store.datasource.edit"
666 name="%command.name.0">
667 </command>
668 <command
669 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
670 id="eu.etaxonomy.taxeditor.store.datasource.clone"
671 name="%command.name.8">
672 </command>
673 <command
674 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
675 id="eu.etaxonomy.taxeditor.store.datasource.create"
676 name="%command.name.1">
677 </command>
678 <command
679 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
680 id="eu.etaxonomy.taxeditor.store.datasource.close"
681 name="%command.name.2">
682 </command>
683 <command
684 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
685 id="eu.etaxonomy.taxeditor.view.datasource.delete"
686 name="%command.name.13">
687 </command>
688 <command
689 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
690 id="eu.etaxonomy.taxeditor.store.datasource.update"
691 name="%command.name.3">
692 </command>
693 <command
694 defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
695 id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
696 name="%command.name.4">
697 </command>
698 <command
699 id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
700 name="%command.name.CONNECT">
701 </command>
702 <command
703 defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
704 id="eu.etaxonomy.taxeditor.store.operations.reconnect"
705 name="%command.name.RE_CONNECT">
706 </command>
707 <command
708 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
709 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
710 name="%command.name.5">
711 <commandParameter
712 id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
713 name="%commandParameter.name.0"
714 optional="true">
715 </commandParameter>
716 </command>
717 <command
718 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
719 id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
720 name="%command.name.6">
721 </command>
722 <command
723 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
724 id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
725 name="%command.name.7">
726 </command>
727 <command
728 id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
729 name="%command.name.9">
730 </command>
731 <command
732 id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
733 name="%command.name.10">
734 </command>
735 <command
736 id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
737 name="%command.name.11">
738 </command>
739 <command
740 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
741 id="eu.etaxonomy.taxeditor.datasource.connect"
742 name="%command.name.12">
743 </command>
744 <command
745 defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
746 id="eu.etaxonomy.taxeditor.editor.definedTerms.delete"
747 name="%command.name.14">
748 </command>
749 <command
750 defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
751 id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
752 name="Inspect Active Session">
753 </command>
754 <command
755 defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
756 id="eu.etaxonomy.taxeditor.store.open"
757 name="%command.name.15">
758 </command>
759 <command
760 defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenClassificationWizardHandler"
761 id="eu.etaxonomy.taxeditor.command.openClassificationWizard"
762 name="%command.name.OPEN_CLASSIFICATION_WIZARD">
763 <commandParameter
764 id="eu.etaxonomy.taxeditor.command.openClassificationWizard.uuid"
765 name="Classification Uuid"
766 optional="true"
767 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
768 </commandParameter>
769 </command>
770 <command
771 defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenTaxonNodeWizardHandler"
772 id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
773 name="%command.name.OPEN_TAXONNODE_WIZARD">
774 <commandParameter
775 id="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard.uuid"
776 name="TaxonNode Uuid"
777 optional="true"
778 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
779 </commandParameter>
780 </command>
781 </extension>
782 <extension
783 point="org.eclipse.ui.commands">
784 <commandParameterType
785 converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
786 id="eu.etaxonomy.taxeditor.uuidParameterType"
787 type="java.util.UUID">
788 </commandParameterType>
789 <commandParameterType
790 converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
791 id="eu.etaxonomy.taxeditor.uuidsParameterType"
792 type="java.util.List">
793 </commandParameterType>
794 </extension>
795 <extension
796 point="org.eclipse.ui.importWizards">
797 <category
798 id="eu.etaxonomy.taxeditor.import.category.cdm"
799 name="%category.name">
800 </category>
801 <wizard
802 category="eu.etaxonomy.taxeditor.import.category.cdm"
803 class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
804 id="eu.etaxonomy.taxeditor.io.import.tcs"
805 name="%wizard.name">
806 </wizard>
807 <!-- <wizard
808 category="eu.etaxonomy.taxeditor.import.category.cdm"
809 class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
810 id="eu.etaxonomy.taxeditor.io.import.jaxb"
811 name="JAXB">
812 </wizard> -->
813 <!-- <wizard
814 category="eu.etaxonomy.taxeditor.import.category.cdm"
815 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
816 id="eu.etaxonomy.taxeditor.io.import.berlinModel"
817 name="%wizard.name.0">
818 </wizard>
819 <wizard
820 category="eu.etaxonomy.taxeditor.import.category.cdm"
821 class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
822 id="eu.etaxonomy.taxeditor.io.import.endnote"
823 name="%wizard.name.1">
824 </wizard>-->
825 <wizard
826 category="eu.etaxonomy.taxeditor.import.category.cdm"
827 class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
828 id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
829 name="%wizard.name.2">
830 </wizard>
831 <wizard
832 category="eu.etaxonomy.taxeditor.import.category.cdm"
833 class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
834 id="eu.etaxonomy.taxeditor.io.import.abcd"
835 name="%wizard.name.3">
836 </wizard>
837 <wizard
838 category="eu.etaxonomy.taxeditor.import.category.cdm"
839 class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
840 id="eu.etaxonomy.taxeditor.io.import.sdd"
841 name="%wizard.name.4">
842 </wizard>
843 <wizard
844 category="eu.etaxonomy.taxeditor.import.category.cdm"
845 class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
846 id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
847 name="%wizard.name.5">
848 </wizard>
849 </extension>
850 <extension
851 point="org.eclipse.ui.exportWizards">
852 <category
853 id="eu.etaxonomy.taxeditor.export.category.cdm"
854 name="%category.name.0">
855 </category>
856 <wizard
857 category="eu.etaxonomy.taxeditor.export.category.cdm"
858 class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
859 id="eu.etaxonomy.taxeditor.io.export.jaxb"
860 name="%wizard.name.6">
861 </wizard>
862 <!--<wizard
863 category="eu.etaxonomy.taxeditor.export.category.cdm"
864 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
865 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
866 name="%wizard.name.7">
867 </wizard>-->
868 <category
869 id="eu.etaxonomy.taxeditor.export.category.excel"
870 name="%category.name.1">
871 </category>
872 <wizard
873 category="eu.etaxonomy.taxeditor.export.category.cdm"
874 class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
875 id="eu.etaxonomy.taxeditor.io.export.sdd"
876 name="%wizard.name.8">
877 </wizard>
878 <wizard
879 category="eu.etaxonomy.taxeditor.export.category.cdm"
880 class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
881 id="eu.etaxonomy.taxeditor.io.export.dwca"
882 name="%wizard.name.9">
883 </wizard>
884 <wizard
885 category="eu.etaxonomy.taxeditor.export.category.cdm"
886 class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
887 id="eu.etaxonomy.taxeditor.io.export.csv"
888 name="%wizard.name.18">
889 </wizard>
890 <wizard
891 category="eu.etaxonomy.taxeditor.export.category.cdm"
892 class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
893 id="eu.etaxonomy.taxeditor.io.export.csv_name"
894 name="%wizard.name.19">
895 </wizard>
896 <wizard
897 category="eu.etaxonomy.taxeditor.export.category.cdm"
898 class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
899 id="eu.etaxonomy.taxeditor.io.export.csv_print"
900 name="%wizard.name.20">
901 </wizard>
902 </extension>
903 <extension
904 point="org.eclipse.ui.newWizards">
905 <wizard
906 category="eu.etaxonomy.taxeditor.new.category.cdm"
907 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
908 hasPages="true"
909 id="eu.etaxonomy.taxeditor.new.reference"
910 name="%wizard.name.10">
911 </wizard>
912 <wizard
913 category="eu.etaxonomy.taxeditor.new.category.cdm"
914 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
915 hasPages="true"
916 id="eu.etaxonomy.taxeditor.new.nonViralName"
917 name="%wizard.name.11">
918 </wizard>
919 <wizard
920 category="eu.etaxonomy.taxeditor.new.category.cdm"
921 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
922 hasPages="true"
923 id="eu.etaxonomy.taxeditor.new.team"
924 name="%wizard.name.12">
925 </wizard>
926 <wizard
927 category="eu.etaxonomy.taxeditor.new.category.cdm"
928 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
929 hasPages="true"
930 id="eu.etaxonomy.taxeditor.new.person"
931 name="%wizard.name.13">
932 </wizard>
933 <wizard
934 category="eu.etaxonomy.taxeditor.new.category.cdm"
935 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
936 hasPages="true"
937 id="eu.etaxonomy.taxeditor.new.specimen"
938 name="%wizard.name.14">
939 </wizard>
940 <wizard
941 category="eu.etaxonomy.taxeditor.new.category.cdm"
942 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
943 hasPages="true"
944 id="eu.etaxonomy.taxeditor.new.key.polytomous"
945 name="%wizard.name.15">
946 </wizard>
947 <category
948 id="eu.etaxonomy.taxeditor.new.category.cdm"
949 name="%category.name.2">
950 </category>
951 <wizard
952 category="eu.etaxonomy.taxeditor.new.category.cdm"
953 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
954 hasPages="true"
955 id="eu.etaxonomy.taxeditor.new.taxonNode"
956 name="%wizard.name.16">
957 </wizard>
958 <wizard
959 category="eu.etaxonomy.taxeditor.new.category.cdm"
960 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
961 hasPages="true"
962 icon="icons/tree_icon_small.jpg"
963 id="eu.etaxonomy.taxeditor.new.classification"
964 name="%wizard.name.17">
965 </wizard>
966 </extension>
967 <extension
968 point="org.eclipse.ui.themes">
969 <themeElementCategory
970 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
971 label="%themeElementCategory.label">
972 <description>
973 %themeElementCategory.description
974 </description>
975 </themeElementCategory>
976 <colorDefinition
977 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
978 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
979 label="%colorDefinition.label"
980 value="150,150,150">
981 </colorDefinition>
982 <colorDefinition
983 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
984 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
985 label="%colorDefinition.label.0"
986 value="0,0,0">
987 </colorDefinition>
988 <colorDefinition
989 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
990 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
991 label="%colorDefinition.label.1"
992 value="255,255,255">
993 </colorDefinition>
994 <colorDefinition
995 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
996 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
997 label="%colorDefinition.label.2"
998 value="241,139,18">
999 </colorDefinition>
1000 <colorDefinition
1001 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1002 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
1003 label="%colorDefinition.label.3"
1004 value="150,150,150">
1005 </colorDefinition>
1006 <colorDefinition
1007 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1008 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
1009 label="%colorDefinition.label.4"
1010 value="230,230,230">
1011 </colorDefinition>
1012 <themeElementCategory
1013 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1014 label="%themeElementCategory.label.0"
1015 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1016 <description>
1017 %themeElementCategory.description.0
1018 </description>
1019 </themeElementCategory>
1020 <colorDefinition
1021 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1022 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
1023 label="%colorDefinition.label.5"
1024 value="230,230,230">
1025 </colorDefinition>
1026 <colorDefinition
1027 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1028 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
1029 label="%colorDefinition.label.6"
1030 value="255,255,255">
1031 </colorDefinition>
1032 <themeElementCategory
1033 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1034 label="%themeElementCategory.label.1"
1035 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1036 <description>
1037 %themeElementCategory.description.1
1038 </description>
1039 </themeElementCategory>
1040 <colorDefinition
1041 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1042 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
1043 label="%colorDefinition.label.7"
1044 value="220, 220, 220">
1045 </colorDefinition>
1046 <colorDefinition
1047 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1048 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
1049 label="%colorDefinition.label.8"
1050 value="232,242,254">
1051 </colorDefinition>
1052 <colorDefinition
1053 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1054 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
1055 label="%colorDefinition.label.9"
1056 value="210, 210, 210">
1057 </colorDefinition>
1058 <colorDefinition
1059 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1060 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
1061 label="%colorDefinition.label.10"
1062 value="185,255,133">
1063 </colorDefinition>
1064 <fontDefinition
1065 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1066 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
1067 label="%fontDefinition.label"
1068 value="Georgia-regular-12">
1069 </fontDefinition>
1070 <fontDefinition
1071 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1072 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
1073 label="%fontDefinition.label.0"
1074 value="Georgia-regular-10">
1075 </fontDefinition>
1076 <fontDefinition
1077 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1078 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
1079 label="%fontDefinition.label.1"
1080 value="Georgia-regular-10">
1081 </fontDefinition>
1082 <fontDefinition
1083 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1084 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
1085 label="%fontDefinition.label.2"
1086 value="Georgia-regular-10">
1087 </fontDefinition>
1088 <fontDefinition
1089 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1090 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
1091 label="%fontDefinition.label.3"
1092 value="Georgia-regular-10">
1093 </fontDefinition>
1094 <themeElementCategory
1095 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1096 label="%themeElementCategory.label.2"
1097 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1098 <description>
1099 %themeElementCategory.description.2
1100 </description>
1101 </themeElementCategory>
1102 <colorDefinition
1103 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1104 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1105 label="%colorDefinition.label.11"
1106 value="192, 192, 192">
1107 </colorDefinition>
1108 <colorDefinition
1109 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1110 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1111 label="%colorDefinition.label.12"
1112 value="0, 0, 0">
1113 </colorDefinition>
1114 <fontDefinition
1115 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1116 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1117 isEditable="true"
1118 label="%fontDefinition.label.4"
1119 value="Arial-regular-10">
1120 <description>
1121 %fontDefinition.description
1122 </description>
1123 </fontDefinition>
1124 <fontDefinition
1125 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1126 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1127 isEditable="true"
1128 label="%fontDefinition.label.5"
1129 value="Arial-italic-10">
1130 <description>
1131 %fontDefinition.description.0
1132 </description>
1133 </fontDefinition>
1134 <fontDefinition
1135 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1136 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1137 isEditable="true"
1138 label="%fontDefinition.label.6"
1139 value="Lucida Grande-regular-11">
1140 <description>
1141 %fontDefinition.description.1
1142 </description>
1143 </fontDefinition>
1144 <colorDefinition
1145 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1146 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1147 label="%colorDefinition.label.13"
1148 value="255,0,0">
1149 </colorDefinition>
1150 <colorDefinition
1151 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1152 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1153 label="%colorDefinition.label.14"
1154 value="105,114,124">
1155 </colorDefinition>
1156 <colorDefinition
1157 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1158 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1159 label="%colorDefinition.label.15"
1160 value="255,0,0">
1161 </colorDefinition>
1162 </extension>
1163 <extension
1164 point="org.eclipse.core.expressions.propertyTesters">
1165 <propertyTester
1166 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1167 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1168 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1169 properties="isCompatible"
1170 type="org.eclipse.jface.viewers.IStructuredSelection">
1171 </propertyTester>
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="test"
1177 type="org.eclipse.jface.viewers.IStructuredSelection">
1178 </propertyTester>
1179 <propertyTester
1180 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1181 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1182 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1183 properties="isShowExperimentalFeatures"
1184 type="org.eclipse.jface.viewers.IStructuredSelection">
1185 </propertyTester>
1186 <propertyTester
1187 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1188 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1189 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1190 properties="isModifiable"
1191 type="org.eclipse.jface.viewers.IStructuredSelection">
1192 </propertyTester>
1193 <propertyTester
1194 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1195 id="eu.etaxonomy.taxeditor.security.permissionTester"
1196 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1197 properties="hasPermissions, hasRoles"
1198 type="org.eclipse.jface.viewers.IStructuredSelection">
1199 </propertyTester>
1200 </extension>
1201 <extension
1202 point="org.eclipse.core.expressions.definitions">
1203 <definition
1204 id="isCompatible">
1205 <with
1206 variable="selection">
1207 <test
1208 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1209 </test>
1210 </with>
1211 </definition>
1212 <definition
1213 id="isShowExperimentalFeatures">
1214 <with
1215 variable="selection">
1216 <test
1217 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1218 </test>
1219 </with>
1220 </definition>
1221 <definition
1222 id="isModifiable">
1223 <with
1224 variable="selection">
1225 <test
1226 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1227 </test>
1228 </with>
1229 </definition>
1230 <definition
1231 id="canUPDATE">
1232 <with
1233 variable="selection">
1234 <test
1235 args="UPDATE"
1236 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1237 </test>
1238 </with>
1239 </definition>
1240 <definition
1241 id="canDELETE">
1242 <with
1243 variable="selection">
1244 <test
1245 args="DELETE"
1246 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1247 </test>
1248 </with>
1249 </definition>
1250 <definition
1251 id="canCREATE">
1252 <with
1253 variable="selection">
1254 <test
1255 args="CREATE"
1256 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1257 </test>
1258 </with>
1259 </definition>
1260 <definition
1261 id="isUserLoggedIn">
1262 <with
1263 variable="eu.etaxonomy.taxeditor.security.user">
1264 <instanceof
1265 value="eu.etaxonomy.cdm.model.common.User">
1266 </instanceof>
1267 </with>
1268 </definition>
1269 <definition
1270 id="hasROLE_USER_MANAGER">
1271 <with
1272 variable="eu.etaxonomy.taxeditor.security.userRoles">
1273 <iterate
1274 ifEmpty="false"
1275 operator="or">
1276 <or>
1277 <equals
1278 value="ROLE_ADMIN">
1279 </equals>
1280 <equals
1281 value="ROLE_USER_MANAGER">
1282 </equals>
1283 </or>
1284 </iterate>
1285 </with>
1286 </definition>
1287 <definition
1288 id="hasROLE_PROJECT_MANAGER">
1289 <with
1290 variable="eu.etaxonomy.taxeditor.security.userRoles">
1291 <iterate
1292 ifEmpty="false"
1293 operator="or">
1294 <or>
1295 <equals
1296 value="ROLE_ADMIN">
1297 </equals>
1298 <equals
1299 value="ROLE_PROJECT_MANAGER">
1300 </equals>
1301 </or>
1302 </iterate>
1303 </with>
1304 </definition>
1305 </extension>
1306 <extension
1307 point="org.eclipse.ui.activities">
1308 <activity
1309 description="%activity.description"
1310 id="eu.etaxonomy.taxeditor.store.activityDelete"
1311 name="%activity.name">
1312 <enabledWhen>
1313 <reference
1314 definitionId="canDELETE">
1315 </reference>
1316 </enabledWhen>
1317 </activity>
1318 <activityPatternBinding
1319 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1320 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1321 </activityPatternBinding>
1322 <activity
1323 description="%activity.description.0"
1324 id="eu.etaxonomy.taxeditor.store.activityUpdate"
1325 name="%activity.name.0">
1326 <enabledWhen>
1327 <reference
1328 definitionId="canUPDATE">
1329 </reference>
1330 </enabledWhen>
1331 </activity>
1332 <activityPatternBinding
1333 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1334 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1335 </activityPatternBinding>
1336 <activity
1337 description="%activity.description.1"
1338 id="eu.etaxonomy.taxeditor.store.activityCreate"
1339 name="%activity.name.1">
1340 <enabledWhen>
1341 <reference
1342 definitionId="canDELETE">
1343 </reference>
1344 </enabledWhen>
1345 </activity>
1346 <activityPatternBinding
1347 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1348 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1349 </activityPatternBinding>
1350 <activity
1351 description="%activity.description.2"
1352 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1353 name="%activity.name.2">
1354 <enabledWhen>
1355 <reference
1356 definitionId="hasROLE_USER_MANAGER">
1357 </reference>
1358 </enabledWhen>
1359 </activity>
1360 <activityPatternBinding
1361 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1362 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1363 </activityPatternBinding>
1364 <activityPatternBinding
1365 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1366 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1367 </activityPatternBinding>
1368 <activity
1369 description="%activity.description.3"
1370 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1371 name="%activity.name.3">
1372 <enabledWhen>
1373 <reference
1374 definitionId="hasROLE_PROJECT_MANAGER">
1375 </reference>
1376 </enabledWhen>
1377 </activity>
1378 <activityPatternBinding
1379 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1380 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1381 </activityPatternBinding>
1382 <activityPatternBinding
1383 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1384 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1385 isEqualityPattern="true">
1386 </activityPatternBinding>
1387 <activityPatternBinding
1388 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1389 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1390 isEqualityPattern="true">
1391 </activityPatternBinding>
1392 </extension>
1393 <extension
1394 point="org.eclipse.ui.services">
1395 <sourceProvider
1396 provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1397 <variable
1398 name="eu.etaxonomy.taxeditor.security.userRoles"
1399 priorityLevel="workbench">
1400 </variable>
1401 </sourceProvider>
1402 </extension>
1403 <extension
1404 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1405 <viewCommandMapping
1406 commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
1407 selection="eu.etaxonomy.cdm.model.taxon.Classification"
1408 viewerName="Classification Wizard">
1409 </viewCommandMapping>
1410 <viewCommandMapping
1411 commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
1412 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1413 viewerName="TaxonNode Wizard">
1414 </viewCommandMapping>
1415 </extension>
1416 </plugin>