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