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