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