b62e2b46c2ebf685323da7bfcd816512418ee0c9
[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 </extension>
821 <extension
822 point="org.eclipse.ui.commands">
823 <commandParameterType
824 converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
825 id="eu.etaxonomy.taxeditor.uuidParameterType"
826 type="java.util.UUID">
827 </commandParameterType>
828 <commandParameterType
829 converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
830 id="eu.etaxonomy.taxeditor.uuidsParameterType"
831 type="java.util.List">
832 </commandParameterType>
833 </extension>
834 <extension
835 point="org.eclipse.ui.importWizards">
836 <category
837 id="eu.etaxonomy.taxeditor.import.category.cdm"
838 name="%category.name">
839 </category>
840 <wizard
841 category="eu.etaxonomy.taxeditor.import.category.cdm"
842 class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
843 id="eu.etaxonomy.taxeditor.io.import.tcs"
844 name="%wizard.name">
845 </wizard>
846 <wizard
847 category="eu.etaxonomy.taxeditor.import.category.cdm"
848 class="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
849 id="eu.etaxonomy.taxeditor.view.dataimport.SpecimenSearchWizard"
850 name="%wizard.name.21">
851 <description>
852 %wizard.description
853 </description>
854 </wizard>
855
856 <!-- <wizard
857 category="eu.etaxonomy.taxeditor.import.category.cdm"
858 class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
859 id="eu.etaxonomy.taxeditor.io.import.jaxb"
860 name="JAXB">
861 </wizard> -->
862 <!-- <wizard
863 category="eu.etaxonomy.taxeditor.import.category.cdm"
864 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
865 id="eu.etaxonomy.taxeditor.io.import.berlinModel"
866 name="%wizard.name.0">
867 </wizard>
868 <wizard
869 category="eu.etaxonomy.taxeditor.import.category.cdm"
870 class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
871 id="eu.etaxonomy.taxeditor.io.import.endnote"
872 name="%wizard.name.1">
873 </wizard>-->
874 <wizard
875 category="eu.etaxonomy.taxeditor.import.category.cdm"
876 class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
877 id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
878 name="%wizard.name.2">
879 </wizard>
880 <wizard
881 category="eu.etaxonomy.taxeditor.import.category.cdm"
882 class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
883 id="eu.etaxonomy.taxeditor.io.import.abcd"
884 name="%wizard.name.3">
885 </wizard>
886 <wizard
887 category="eu.etaxonomy.taxeditor.import.category.cdm"
888 class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
889 id="eu.etaxonomy.taxeditor.io.import.sdd"
890 name="%wizard.name.4">
891 </wizard>
892 <wizard
893 category="eu.etaxonomy.taxeditor.import.category.cdm"
894 class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
895 id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
896 name="%wizard.name.5">
897 </wizard>
898 </extension>
899 <extension
900 point="org.eclipse.ui.exportWizards">
901 <category
902 id="eu.etaxonomy.taxeditor.export.category.cdm"
903 name="%category.name.0">
904 </category>
905 <wizard
906 category="eu.etaxonomy.taxeditor.export.category.cdm"
907 class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
908 id="eu.etaxonomy.taxeditor.io.export.jaxb"
909 name="%wizard.name.6">
910 </wizard>
911 <!--<wizard
912 category="eu.etaxonomy.taxeditor.export.category.cdm"
913 class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
914 id="eu.etaxonomy.taxeditor.io.export.berlinModel"
915 name="%wizard.name.7">
916 </wizard>-->
917 <category
918 id="eu.etaxonomy.taxeditor.export.category.excel"
919 name="%category.name.1">
920 </category>
921 <wizard
922 category="eu.etaxonomy.taxeditor.export.category.cdm"
923 class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
924 id="eu.etaxonomy.taxeditor.io.export.sdd"
925 name="%wizard.name.8">
926 </wizard>
927 <wizard
928 category="eu.etaxonomy.taxeditor.export.category.cdm"
929 class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
930 id="eu.etaxonomy.taxeditor.io.export.dwca"
931 name="%wizard.name.9">
932 </wizard>
933 <wizard
934 category="eu.etaxonomy.taxeditor.export.category.cdm"
935 class="eu.etaxonomy.taxeditor.io.wizard.CsvExportWizard"
936 id="eu.etaxonomy.taxeditor.io.export.csv"
937 name="%wizard.name.18">
938 </wizard>
939 <wizard
940 category="eu.etaxonomy.taxeditor.export.category.cdm"
941 class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
942 id="eu.etaxonomy.taxeditor.io.export.csv_name"
943 name="%wizard.name.19">
944 </wizard>
945 <wizard
946 category="eu.etaxonomy.taxeditor.export.category.cdm"
947 class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
948 id="eu.etaxonomy.taxeditor.io.export.csv_print"
949 name="%wizard.name.20">
950 </wizard>
951 <wizard
952 category="eu.etaxonomy.taxeditor.export.category.cdm"
953 class="eu.etaxonomy.taxeditor.io.wizard.OutputModelExportWizard"
954 id="eu.etaxonomy.taxeditor.io.export.output_model"
955 name="%wizard.name.22">
956 </wizard>
957 </extension>
958 <extension
959 point="org.eclipse.ui.newWizards">
960 <wizard
961 category="eu.etaxonomy.taxeditor.new.category.cdm"
962 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
963 hasPages="true"
964 id="eu.etaxonomy.taxeditor.new.reference"
965 name="%wizard.name.10">
966 </wizard>
967 <wizard
968 category="eu.etaxonomy.taxeditor.new.category.cdm"
969 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
970 hasPages="true"
971 id="eu.etaxonomy.taxeditor.new.nonViralName"
972 name="%wizard.name.11">
973 </wizard>
974 <wizard
975 category="eu.etaxonomy.taxeditor.new.category.cdm"
976 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
977 hasPages="true"
978 id="eu.etaxonomy.taxeditor.new.team"
979 name="%wizard.name.12">
980 </wizard>
981 <wizard
982 category="eu.etaxonomy.taxeditor.new.category.cdm"
983 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
984 hasPages="true"
985 id="eu.etaxonomy.taxeditor.new.person"
986 name="%wizard.name.13">
987 </wizard>
988 <wizard
989 category="eu.etaxonomy.taxeditor.new.category.cdm"
990 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
991 hasPages="true"
992 id="eu.etaxonomy.taxeditor.new.specimen"
993 name="%wizard.name.14">
994 </wizard>
995 <wizard
996 category="eu.etaxonomy.taxeditor.new.category.cdm"
997 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
998 hasPages="true"
999 id="eu.etaxonomy.taxeditor.new.key.polytomous"
1000 name="%wizard.name.15">
1001 </wizard>
1002 <category
1003 id="eu.etaxonomy.taxeditor.new.category.cdm"
1004 name="%category.name.2">
1005 </category>
1006 <wizard
1007 category="eu.etaxonomy.taxeditor.new.category.cdm"
1008 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
1009 hasPages="true"
1010 id="eu.etaxonomy.taxeditor.new.taxonNode"
1011 name="%wizard.name.16">
1012 </wizard>
1013 <wizard
1014 category="eu.etaxonomy.taxeditor.new.category.cdm"
1015 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
1016 hasPages="true"
1017 icon="icons/tree_icon_small.jpg"
1018 id="eu.etaxonomy.taxeditor.new.classification"
1019 name="%wizard.name.17">
1020 </wizard>
1021 </extension>
1022 <extension
1023 point="org.eclipse.ui.themes">
1024 <themeElementCategory
1025 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1026 label="%themeElementCategory.label">
1027 <description>
1028 %themeElementCategory.description
1029 </description>
1030 </themeElementCategory>
1031 <colorDefinition
1032 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1033 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
1034 label="%colorDefinition.label"
1035 value="150,150,150">
1036 </colorDefinition>
1037 <colorDefinition
1038 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1039 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
1040 label="%colorDefinition.label.0"
1041 value="0,0,0">
1042 </colorDefinition>
1043 <colorDefinition
1044 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1045 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
1046 label="%colorDefinition.label.1"
1047 value="255,255,255">
1048 </colorDefinition>
1049 <colorDefinition
1050 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1051 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
1052 label="%colorDefinition.label.2"
1053 value="241,139,18">
1054 </colorDefinition>
1055 <colorDefinition
1056 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1057 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
1058 label="%colorDefinition.label.3"
1059 value="150,150,150">
1060 </colorDefinition>
1061 <colorDefinition
1062 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1063 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
1064 label="%colorDefinition.label.4"
1065 value="230,230,230">
1066 </colorDefinition>
1067 <themeElementCategory
1068 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1069 label="%themeElementCategory.label.0"
1070 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1071 <description>
1072 %themeElementCategory.description.0
1073 </description>
1074 </themeElementCategory>
1075 <colorDefinition
1076 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1077 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
1078 label="%colorDefinition.label.5"
1079 value="230,230,230">
1080 </colorDefinition>
1081 <colorDefinition
1082 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1083 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
1084 label="%colorDefinition.label.6"
1085 value="255,255,255">
1086 </colorDefinition>
1087 <themeElementCategory
1088 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1089 label="%themeElementCategory.label.1"
1090 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1091 <description>
1092 %themeElementCategory.description.1
1093 </description>
1094 </themeElementCategory>
1095 <colorDefinition
1096 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1097 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
1098 label="%colorDefinition.label.7"
1099 value="220, 220, 220">
1100 </colorDefinition>
1101 <colorDefinition
1102 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1103 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
1104 label="%colorDefinition.label.8"
1105 value="232,242,254">
1106 </colorDefinition>
1107 <colorDefinition
1108 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1109 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
1110 label="%colorDefinition.label.9"
1111 value="210, 210, 210">
1112 </colorDefinition>
1113 <colorDefinition
1114 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1115 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
1116 label="%colorDefinition.label.10"
1117 value="185,255,133">
1118 </colorDefinition>
1119 <fontDefinition
1120 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1121 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
1122 label="%fontDefinition.label"
1123 value="Georgia-regular-12">
1124 </fontDefinition>
1125 <fontDefinition
1126 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1127 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
1128 label="%fontDefinition.label.0"
1129 value="Georgia-regular-10">
1130 </fontDefinition>
1131 <fontDefinition
1132 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1133 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
1134 label="%fontDefinition.label.1"
1135 value="Georgia-regular-10">
1136 </fontDefinition>
1137 <fontDefinition
1138 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1139 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
1140 label="%fontDefinition.label.2"
1141 value="Georgia-regular-10">
1142 </fontDefinition>
1143 <fontDefinition
1144 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1145 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
1146 label="%fontDefinition.label.3"
1147 value="Georgia-regular-10">
1148 </fontDefinition>
1149 <themeElementCategory
1150 id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1151 label="%themeElementCategory.label.2"
1152 parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
1153 <description>
1154 %themeElementCategory.description.2
1155 </description>
1156 </themeElementCategory>
1157 <colorDefinition
1158 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1159 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
1160 label="%colorDefinition.label.11"
1161 value="192, 192, 192">
1162 </colorDefinition>
1163 <colorDefinition
1164 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1165 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
1166 label="%colorDefinition.label.12"
1167 value="0, 0, 0">
1168 </colorDefinition>
1169 <fontDefinition
1170 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1171 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
1172 isEditable="true"
1173 label="%fontDefinition.label.4"
1174 value="Arial-regular-10">
1175 <description>
1176 %fontDefinition.description
1177 </description>
1178 </fontDefinition>
1179 <fontDefinition
1180 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1181 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
1182 isEditable="true"
1183 label="%fontDefinition.label.5"
1184 value="Arial-italic-10">
1185 <description>
1186 %fontDefinition.description.0
1187 </description>
1188 </fontDefinition>
1189 <fontDefinition
1190 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
1191 id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
1192 isEditable="true"
1193 label="%fontDefinition.label.6"
1194 value="Lucida Grande-regular-11">
1195 <description>
1196 %fontDefinition.description.1
1197 </description>
1198 </fontDefinition>
1199 <colorDefinition
1200 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
1201 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
1202 label="%colorDefinition.label.13"
1203 value="255,0,0">
1204 </colorDefinition>
1205 <colorDefinition
1206 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
1207 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
1208 label="%colorDefinition.label.14"
1209 value="105,114,124">
1210 </colorDefinition>
1211 <colorDefinition
1212 categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
1213 id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
1214 label="%colorDefinition.label.15"
1215 value="255,0,0">
1216 </colorDefinition>
1217 </extension>
1218 <extension
1219 point="org.eclipse.core.expressions.propertyTesters">
1220 <propertyTester
1221 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1222 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1223 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1224 properties="isCompatible"
1225 type="org.eclipse.jface.viewers.IStructuredSelection">
1226 </propertyTester>
1227 <propertyTester
1228 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1229 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1230 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1231 properties="test, hasDataModel"
1232 type="org.eclipse.jface.viewers.IStructuredSelection">
1233 </propertyTester>
1234 <propertyTester
1235 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1236 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1237 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1238 properties="isShowExperimentalFeatures"
1239 type="org.eclipse.jface.viewers.IStructuredSelection">
1240 </propertyTester>
1241 <propertyTester
1242 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1243 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1244 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1245 properties="isModifiable"
1246 type="org.eclipse.jface.viewers.IStructuredSelection">
1247 </propertyTester>
1248 <propertyTester
1249 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1250 id="eu.etaxonomy.taxeditor.security.permissionTester"
1251 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1252 properties="hasPermissions, hasRoles"
1253 type="org.eclipse.jface.viewers.IStructuredSelection">
1254 </propertyTester>
1255 </extension>
1256 <extension
1257 point="org.eclipse.core.expressions.definitions">
1258 <definition
1259 id="isCompatible">
1260 <with
1261 variable="selection">
1262 <test
1263 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1264 </test>
1265 </with>
1266 </definition>
1267 <definition
1268 id="hasDataModel">
1269 <with
1270 variable="selection">
1271 <test
1272 property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
1273 </test>
1274 </with>
1275 </definition>
1276 <definition
1277 id="isShowExperimentalFeatures">
1278 <with
1279 variable="selection">
1280 <test
1281 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1282 </test>
1283 </with>
1284 </definition>
1285 <definition
1286 id="isModifiable">
1287 <with
1288 variable="selection">
1289 <test
1290 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1291 </test>
1292 </with>
1293 </definition>
1294 <definition
1295 id="canUPDATE">
1296 <with
1297 variable="selection">
1298 <test
1299 args="UPDATE"
1300 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1301 </test>
1302 </with>
1303 </definition>
1304 <definition
1305 id="canDELETE">
1306 <with
1307 variable="selection">
1308 <test
1309 args="DELETE"
1310 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1311 </test>
1312 </with>
1313 </definition>
1314 <definition
1315 id="canCREATE">
1316 <with
1317 variable="selection">
1318 <test
1319 args="CREATE"
1320 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1321 </test>
1322 </with>
1323 </definition>
1324 <definition
1325 id="isUserLoggedIn">
1326 <with
1327 variable="eu.etaxonomy.taxeditor.security.user">
1328 <instanceof
1329 value="eu.etaxonomy.cdm.model.common.User">
1330 </instanceof>
1331 </with>
1332 </definition>
1333 <definition
1334 id="hasROLE_USER_MANAGER">
1335 <with
1336 variable="eu.etaxonomy.taxeditor.security.userRoles">
1337 <iterate
1338 ifEmpty="false"
1339 operator="or">
1340 <or>
1341 <equals
1342 value="ROLE_ADMIN">
1343 </equals>
1344 <equals
1345 value="ROLE_USER_MANAGER">
1346 </equals>
1347 </or>
1348 </iterate>
1349 </with>
1350 </definition>
1351 <definition
1352 id="hasROLE_PROJECT_MANAGER">
1353 <with
1354 variable="eu.etaxonomy.taxeditor.security.userRoles">
1355 <iterate
1356 ifEmpty="false"
1357 operator="or">
1358 <or>
1359 <equals
1360 value="ROLE_ADMIN">
1361 </equals>
1362 <equals
1363 value="ROLE_PROJECT_MANAGER">
1364 </equals>
1365 </or>
1366 </iterate>
1367 </with>
1368 </definition>
1369 <definition
1370 id="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected">
1371 <and>
1372 <reference
1373 definitionId="hasROLE_PROJECT_MANAGER">
1374 </reference>
1375 <reference
1376 definitionId="isCdmStoreConnected">
1377 </reference>
1378 </and>
1379 </definition>
1380 </extension>
1381 <extension
1382 point="org.eclipse.ui.activities">
1383 <activity
1384 description="%activity.description"
1385 id="eu.etaxonomy.taxeditor.store.activityDelete"
1386 name="%activity.name">
1387 <enabledWhen>
1388 <reference
1389 definitionId="canDELETE">
1390 </reference>
1391 </enabledWhen>
1392 </activity>
1393 <activityPatternBinding
1394 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1395 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1396 </activityPatternBinding>
1397 <activity
1398 description="%activity.description.0"
1399 id="eu.etaxonomy.taxeditor.store.activityUpdate"
1400 name="%activity.name.0">
1401 <enabledWhen>
1402 <reference
1403 definitionId="canUPDATE">
1404 </reference>
1405 </enabledWhen>
1406 </activity>
1407 <activityPatternBinding
1408 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1409 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1410 </activityPatternBinding>
1411 <activity
1412 description="%activity.description.1"
1413 id="eu.etaxonomy.taxeditor.store.activityCreate"
1414 name="%activity.name.1">
1415 <enabledWhen>
1416 <reference
1417 definitionId="canDELETE">
1418 </reference>
1419 </enabledWhen>
1420 </activity>
1421 <activityPatternBinding
1422 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1423 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1424 </activityPatternBinding>
1425 <activity
1426 description="%activity.description.2"
1427 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1428 name="%activity.name.2">
1429 <enabledWhen>
1430 <reference
1431 definitionId="hasROLE_USER_MANAGER">
1432 </reference>
1433 </enabledWhen>
1434 </activity>
1435 <activityPatternBinding
1436 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1437 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1438 </activityPatternBinding>
1439 <activityPatternBinding
1440 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1441 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1442 </activityPatternBinding>
1443 <activity
1444 description="%activity.description.3"
1445 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1446 name="%activity.name.3">
1447 <enabledWhen>
1448 <reference
1449 definitionId="hasROLE_PROJECT_MANAGER">
1450 </reference>
1451 </enabledWhen>
1452 </activity>
1453 <activityPatternBinding
1454 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1455 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1456 </activityPatternBinding>
1457 <activityPatternBinding
1458 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1459 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1460 isEqualityPattern="true">
1461 </activityPatternBinding>
1462 <activityPatternBinding
1463 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1464 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1465 isEqualityPattern="true">
1466 </activityPatternBinding>
1467 </extension>
1468 <extension
1469 point="org.eclipse.ui.services">
1470 <sourceProvider
1471 provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1472 <variable
1473 name="eu.etaxonomy.taxeditor.security.userRoles"
1474 priorityLevel="workbench">
1475 </variable>
1476 </sourceProvider>
1477 </extension>
1478 <extension
1479 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1480 <viewCommandMapping
1481 commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
1482 selection="eu.etaxonomy.cdm.model.taxon.Classification"
1483 viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
1484 </viewCommandMapping>
1485 <viewCommandMapping
1486 commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
1487 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1488 viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
1489 </viewCommandMapping>
1490 </extension>
1491 </plugin>