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