83b8d25e3ccb2ddc25bbb73242bd2ae515a7cfd4
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 id="application"
6 point="org.eclipse.core.runtime.applications">
7 <application>
8 <run
9 class="eu.etaxonomy.taxeditor.editor.Application">
10 </run>
11 </application>
12 </extension>
13 <extension
14 point="org.eclipse.core.runtime.adapters">
15 <factory
16 adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18 <adapter
19 type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20 </adapter>
21 </factory>
22 </extension>
23 <extension
24 point="org.eclipse.ui.editors">
25 <editor
26 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27 icon="icons/edit_16x16.gif"
28 id="eu.etaxonomy.taxeditor.editor.taxon"
29 name="%editor.name">
30 </editor>
31 <editor
32 class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33 default="true"
34 id="eu.etaxonomy.taxeditor.editor.taxon.name"
35 name="%editor.name.0">
36 </editor>
37 <editor
38 class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39 default="false"
40 id="eu.etaxonomy.taxeditor.editor.key"
41 name="%editor.name.1">
42 </editor>
43 <editor
44 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45 default="false"
46 id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47 name="%editor.name.2">
48 </editor>
49 <editor
50 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51 default="false"
52 id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53 name="%editor.name.3">
54 </editor>
55 <editor
56 class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57 default="false"
58 id="eu.etaxonomy.taxeditor.editor.group.authority"
59 name="%editor.name.4">
60 </editor>
61 <editor
62 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
63 default="false"
64 icon="icons/derivate_view-16x16-32.png"
65 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
66 name="%editor.name.5">
67 </editor>
68 <editor
69 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
70 default="false"
71 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
72 name="%editor.name.6">
73 </editor>
74 <editor
75 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
76 default="false"
77 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
78 name="%editor.name.7">
79 </editor>
80 <editor
81 class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
82 icon="icons/check.png"
83 id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
84 name="%editor.name.8">
85 </editor>
86 </extension>
87 <extension
88 point="org.eclipse.ui.views">
89 <view
90 allowMultiple="false"
91 category="eu.etaxonomy.taxeditor.editor.category"
92 class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
93 icon="icons/address-book-new.png"
94 id="eu.etaxonomy.taxeditor.editor.view.descriptive"
95 name="%view.name"
96 restorable="true">
97 </view>
98 <view
99 allowMultiple="false"
100 category="eu.etaxonomy.taxeditor.editor.category"
101 class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
102 icon="icons/leaf.png"
103 id="eu.etaxonomy.taxeditor.editor.view.uses"
104 name="%view.name.0"
105 restorable="true">
106 </view>
107 <view
108 allowMultiple="false"
109 category="eu.etaxonomy.taxeditor.editor.category"
110 class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
111 icon="icons/camera-photo.png"
112 id="eu.etaxonomy.taxeditor.editor.view.media"
113 name="%view.name.1"
114 restorable="true">
115 </view>
116 <view
117 category="eu.etaxonomy.taxeditor.editor.category"
118 class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
119 id="eu.etaxonomy.taxeditor.editor.view.concept"
120 name="%view.name.2"
121 restorable="true">
122 </view>
123 <view
124 category="eu.etaxonomy.taxeditor.editor.category"
125 class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
126 icon="icons/address-book-new.png"
127 id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
128 name="%view.name.3"
129 restorable="true">
130 </view>
131 <category
132 id="eu.etaxonomy.taxeditor.editor.category"
133 name="%category.name">
134 </category>
135 <view
136 allowMultiple="true"
137 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
138 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
139 name="%view.name.4">
140 </view>
141 <view
142 allowMultiple="true"
143 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
144 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
145 name="%view.name.5">
146 </view>
147 <view
148 allowMultiple="false"
149 category="eu.etaxonomy.taxeditor.editor.category"
150 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
151 icon="icons/edit_16x16.gif"
152 id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
153 name="%view.name.6">
154 </view>
155 </extension>
156
157 <!-- VALIDATION RELATED STUFF -->
158 <extension point="org.eclipse.core.resources.markers" name="Validation Error" id="eu.etaxonomy.taxeditor.markers.validationerror">
159 <super type="org.eclipse.core.resources.problemmarker"/>
160 <attribute name="databaseId"/>
161 <attribute name="userFriendlyTypeName"/>
162 <attribute name="userFriendlyDescription"/>
163 <attribute name="userFriendlyFieldName"/>
164 <attribute name="validatorMessage"/>
165 <attribute name="invalidValue"/>
166 <attribute name="validatorClass"/>
167 <attribute name="entityClass"/>
168 <attribute name="entityId"/>
169 <persistent value="false"/>
170 </extension>
171
172 <extension point="org.eclipse.ui.ide.markerSupport">
173 <markerContentGenerator
174 id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator"
175 name="Validation Problems Marker Generator">
176 <markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
177
178 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
179 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
180 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
181 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
182 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
183 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
184 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
185 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
186 </markerContentGenerator>
187
188 <markerField
189 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
190 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
191 name="%marker.field.0">
192 </markerField>
193 <markerField
194 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
195 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
196 name="%marker.field.1">
197 </markerField>
198 <markerField
199 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
200 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
201 name="%marker.field.2 = Attribute">
202 </markerField>
203 <markerField
204 class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
205 id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
206 name="%marker.field.3 = Problematic Value">
207 </markerField>
208 <markerField
209 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
210 id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
211 name="%marker.field.4 = Problem description">
212 </markerField>
213 <markerField
214 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
215 id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
216 name="%marker.field.5">
217 </markerField>
218 <markerField
219 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
220 id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
221 name="%marker.field.6">
222 </markerField>
223 <markerField
224 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
225 id="eu.etaxonomy.taxeditor.markers.validation.entityId"
226 name="%marker.field.7">
227 </markerField>
228 </extension>
229
230 <extension
231 point="org.eclipse.ui.elementFactories">
232 <factory
233 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
234 id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
235 </factory>
236 </extension>
237 <extension
238 point="org.eclipse.ui.menus">
239 <menuContribution
240 locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
241 <command
242 commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
243 label="%command.label.46"
244 style="push">
245 </command>
246 <command
247 commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
248 label="%command.label.47"
249 style="push">
250 </command>
251 <command
252 commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
253 label="%command.label.1"
254 style="push">
255 </command>
256 <command
257 commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
258 label="%command.label.2"
259 style="push">
260 </command>
261 <separator
262 name="eu.etaxonomy.navigation.menu.new.separator2"
263 visible="true">
264 </separator>
265 <command
266 commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
267 label="%command.label.3"
268 style="push">
269 </command>
270 <separator
271 name="eu.etaxonomy.navigation.menu.new.separator3"
272 visible="true">
273 </separator>
274 <command
275 commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
276 label="%command.label.48"
277 style="push">
278 </command>
279 </menuContribution>
280 <menuContribution
281 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
282 <separator
283 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
284 visible="true">
285 </separator>
286 <command
287 commandId="org.eclipse.ui.views.showView"
288 label="%command.label.4"
289 style="push">
290 <parameter
291 name="org.eclipse.ui.views.showView.viewId"
292 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
293 </parameter>
294 </command>
295 <command
296 commandId="org.eclipse.ui.views.showView"
297 label="%command.label.5"
298 style="push">
299 <parameter
300 name="org.eclipse.ui.views.showView.viewId"
301 value="eu.etaxonomy.taxeditor.editor.view.media">
302 </parameter>
303 </command>
304 <command
305 commandId="org.eclipse.ui.views.showView"
306 label="%command.label.6"
307 style="push">
308 <parameter
309 name="org.eclipse.ui.views.showView.viewId"
310 value="eu.etaxonomy.taxeditor.editor.view.concept">
311 </parameter>
312 </command>
313 <command
314 commandId="org.eclipse.ui.views.showView"
315 label="%command.label.7"
316 style="push">
317 <parameter
318 name="org.eclipse.ui.views.showView.viewId"
319 value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
320 </parameter>
321 <visibleWhen
322 checkEnabled="false">
323 <reference
324 definitionId="isShowExperimentalFeatures">
325 </reference>
326 </visibleWhen>
327 </command>
328 </menuContribution>
329 <menuContribution
330 locationURI="menu:org.eclipse.ui.main.menu.navigate">
331 <command
332 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
333 label="%command.label.8"
334 style="push">
335 </command>
336 </menuContribution>
337 <menuContribution
338 locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
339 <menu
340 label="%menu.label">
341 <command
342 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
343 label="%command.label.9"
344 style="push">
345 <visibleWhen>
346 <reference
347 definitionId="isAcceptedTaxon">
348 </reference>
349 </visibleWhen>
350 </command>
351 <command
352 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
353 label="%command.label.10"
354 style="push">
355 <visibleWhen>
356 <reference
357 definitionId="isAcceptedTaxon">
358 </reference>
359 </visibleWhen>
360 </command>
361 <command
362 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
363 label="%command.label.11"
364 style="push">
365 <visibleWhen>
366 <reference
367 definitionId="isSynonym">
368 </reference>
369 </visibleWhen>
370 </command>
371 <separator
372 name="separator1"
373 visible="true">
374 </separator>
375 <command
376 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
377 label="%command.label.49"
378 style="push">
379 <visibleWhen>
380 <or>
381 <reference
382 definitionId="isAcceptedTaxon">
383 </reference>
384 <reference
385 definitionId="isMisapplication">
386 </reference>
387 </or>
388 </visibleWhen>
389 </command>
390 </menu>
391 <!--<command
392 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
393 label="Change Accepted Taxon to Synonym"
394 style="push">
395 <visibleWhen
396 checkEnabled="true">
397 <reference
398 definitionId="isAcceptedAndHasNoHomotypicSynonyms">
399 </reference>
400 </visibleWhen
401 <visibleWhen>
402 <or>
403 <reference
404 definitionId="isAcceptedTaxon">
405 </reference>
406 <reference
407 definitionId="isMisapplication">
408 </reference>
409 </or>
410 </visibleWhen>
411 </command>-->
412 <menu
413 label="%menu.label.0">
414 <command
415 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
416 label="%command.label.12"
417 style="push">
418 <visibleWhen>
419 <not>
420 <or>
421 <reference
422 definitionId="isAcceptedTaxon">
423 </reference>
424 <reference
425 definitionId="isMisapplication">
426 </reference>
427 </or>
428 </not>
429 </visibleWhen>
430 </command>
431 <command
432 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
433 label="%command.label.13"
434 style="push">
435 <visibleWhen>
436 <not>
437 <or>
438 <reference
439 definitionId="isAcceptedTaxon">
440 </reference>
441 <reference
442 definitionId="isSynonym">
443 </reference>
444 </or>
445 </not>
446 </visibleWhen>
447 </command>
448 <command
449 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
450 label="%command.label.14"
451 style="push">
452 <visibleWhen>
453 <not>
454 <or>
455 <reference
456 definitionId="isAcceptedTaxon">
457 </reference>
458 <reference
459 definitionId="isMisapplication">
460 </reference>
461 </or>
462 </not>
463 </visibleWhen>
464 </command>
465 </menu>
466 <separator
467 name="taxeditor-editor.separator1"
468 visible="true">
469 </separator>
470 <command
471 commandId="org.eclipse.ui.edit.delete"
472 label="%command.label.15"
473 style="push">
474 <visibleWhen>
475 <or>
476 <reference
477 definitionId="isSynonym">
478 </reference>
479 <reference
480 definitionId="isMisapplication">
481 </reference>
482 <reference
483 definitionId="isConceptRelation">
484 </reference>
485 </or>
486 </visibleWhen>
487 </command>
488 <command
489 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
490 label="%command.label.16"
491 style="push">
492 <visibleWhen>
493 <reference
494 definitionId="hasEmptyNames">
495 </reference>
496 </visibleWhen>
497 </command>
498 <separator
499 name="taxeditor-editor.separator2"
500 visible="true">
501 </separator>
502 <dynamic
503 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
504 id="taxeditor-editor.dynamic.setBasionym">
505 <visibleWhen>
506 <or>
507 <reference
508 definitionId="isAcceptedTaxon">
509 </reference>
510 <reference
511 definitionId="isSynonym">
512 </reference>
513 </or>
514 </visibleWhen>
515 </dynamic>
516 <command
517 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
518 label="%command.label.17"
519 style="push">
520 <visibleWhen>
521 <reference
522 definitionId="isSynonym">
523 </reference>
524 </visibleWhen>
525 </command>
526 <separator
527 name="taxeditor-editor.separator3"
528 visible="true">
529 </separator>
530 <command
531 commandId="org.eclipse.ui.views.showView"
532 label="%command.label.18"
533 style="push">
534 <parameter
535 name="org.eclipse.ui.views.showView.viewId"
536 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
537 </parameter>
538 </command>
539 <separator
540 name="taxeditor-editor.separator4"
541 visible="true">
542 </separator>
543 <command
544 commandId="org.eclipse.ui.file.save"
545 label="%command.label.19"
546 style="push">
547 </command>
548 </menuContribution>
549 <menuContribution
550 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
551 <command
552 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
553 label="%command.label.20"
554 style="push">
555 </command>
556 <separator
557 name="taxeditor-editor.separator1"
558 visible="true">
559 </separator>
560 <command
561 commandId="org.eclipse.ui.edit.delete"
562 label="%command.label.21"
563 style="push">
564 </command>
565 <separator
566 name="taxeditor-editor.separator2"
567 visible="true">
568 </separator>
569 <command
570 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
571 label="%command.label.22"
572 style="push">
573 </command>
574 <separator
575 name="taxeditor-editor.separator3"
576 visible="true">
577 </separator>
578 </menuContribution>
579 <menuContribution
580 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
581 <command
582 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
583 label="%command.label.23"
584 style="push">
585 </command>
586 <command
587 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
588 label="%command.label.24"
589 style="push">
590 </command>
591 <command
592 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
593 label="%command.label.25"
594 style="push">
595 </command>
596 <command
597 commandId="org.eclipse.ui.edit.delete"
598 label="%command.label.26"
599 style="push">
600 </command>
601 </menuContribution>
602 <menuContribution
603 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
604 <command
605 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
606 label="%command.label.27"
607 style="push">
608 </command>
609 <separator
610 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
611 visible="true">
612 </separator>
613 <menu
614 label="%menu.label.1">
615 <dynamic
616 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
617 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
618 </dynamic>
619 <visibleWhen
620 checkEnabled="true">
621 <or>
622 <reference
623 definitionId="isDescription">
624 </reference>
625 <reference
626 definitionId="isDescriptionElement">
627 </reference>
628 <reference
629 definitionId="isFeatureNodeContainer">
630 </reference>
631 </or>
632 </visibleWhen>
633 </menu>
634 <separator
635 name="taxeditor-editor.separator1"
636 visible="true">
637 </separator>
638 <command
639 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
640 label="Open in Derivate Editor"
641 style="push">
642 <visibleWhen
643 checkEnabled="true">
644 <with
645 variable="selection">
646 <count
647 value="+">
648 </count>
649 </with>
650 </visibleWhen>
651 </command>
652 <command
653 commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
654 label="%command.label.28"
655 style="push">
656 <visibleWhen
657 checkEnabled="true">
658 <reference
659 definitionId="isDescription">
660 </reference>
661 </visibleWhen>
662 </command>
663 <command
664 commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
665 label="%command.label.29"
666 style="push">
667 <visibleWhen
668 checkEnabled="true">
669 <or>
670 <reference
671 definitionId="isDescriptionElement">
672 </reference>
673 <reference
674 definitionId="isFeatureNodeContainer">
675 </reference>
676 </or>
677 </visibleWhen>
678 </command>
679 <separator
680 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
681 visible="true">
682 </separator>
683 <command
684 commandId="org.eclipse.ui.edit.delete"
685 label="%command.label.30"
686 style="push">
687 </command>
688 <separator
689 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
690 visible="true">
691 </separator>
692 <command
693 commandId="org.eclipse.ui.file.save"
694 label="%command.label.31"
695 style="push">
696 </command>
697 <separator
698 name="eu.etaxonomy.taxeditor.editor.separator1">
699 </separator>
700 </menuContribution>
701 <menuContribution
702 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
703 <command
704 commandId="org.eclipse.ui.edit.delete"
705 label="Delete"
706 style="push">
707 </command>
708 <command
709 commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
710 label="Create Field Unit"
711 style="push">
712 </command>
713 <command
714 commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
715 icon="icons/deep-delete-16x16-32.png"
716 label="Delete (with children)"
717 style="push">
718 </command>
719 <dynamic
720 class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
721 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
722 </dynamic>
723 </menuContribution>
724 <menuContribution
725 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
726 <dynamic
727 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
728 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
729 </dynamic>
730 </menuContribution>
731 <menuContribution
732 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
733 <dynamic
734 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
735 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
736 </dynamic>
737 </menuContribution>
738
739
740
741
742 <menuContribution
743 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
744 <command
745 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
746 label="%command.label.32"
747 style="push">
748 </command>
749 <command
750 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
751 label="%command.label.33"
752 style="push">
753 <visibleWhen
754 checkEnabled="true">
755 <or>
756 <reference
757 definitionId="isDescription">
758 </reference>
759 <reference
760 definitionId="isDescriptionElement">
761 </reference>
762 <reference
763 definitionId="isFeatureNodeContainer">
764 </reference>
765 </or>
766 </visibleWhen>
767 </command>
768 <command
769 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
770 label="%command.label.34"
771 style="push">
772 <visibleWhen
773 checkEnabled="true">
774 <or>
775 <reference
776 definitionId="isDescription">
777 </reference>
778 <reference
779 definitionId="isDescriptionElement">
780 </reference>
781 <reference
782 definitionId="isFeatureNodeContainer">
783 </reference>
784 </or>
785 </visibleWhen>
786 </command>
787 <separator
788 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
789 visible="true">
790 </separator>
791 <separator
792 name="taxeditor-editor.separator1"
793 visible="true">
794 </separator>
795 <separator
796 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
797 visible="true">
798 </separator>
799 <command
800 commandId="org.eclipse.ui.edit.delete"
801 label="%command.label.35"
802 style="push">
803 </command>
804 <separator
805 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
806 visible="true">
807 </separator>
808 <command
809 commandId="org.eclipse.ui.file.save"
810 label="%command.label.36"
811 style="push">
812 </command>
813 </menuContribution>
814
815
816
817
818
819 <menuContribution
820 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
821 <command
822 commandId="taxeditor-editor.command.newimagegallery"
823 label="%command.label.37"
824 style="push">
825 <visibleWhen>
826 <or>
827 <reference
828 definitionId="isBulkEditor">
829 </reference>
830 <reference
831 definitionId="isTaxonEditor">
832 </reference>
833 <reference
834 definitionId="isDerivateEditor">
835 </reference>
836 </or>
837 </visibleWhen>
838 </command>
839 <separator
840 name="taxeditor-editor.separator1"
841 visible="true">
842 </separator>
843 <command
844 commandId="taxeditor-editor.newimage"
845 label="%command.label.38"
846 style="push">
847 <visibleWhen>
848 <reference
849 definitionId="isImageGallery">
850 </reference>
851 </visibleWhen>
852 </command>
853 <command
854 commandId="taxeditor-editor.useExistingImage"
855 label="%command.label.50"
856 style="push">
857 <visibleWhen>
858 <reference
859 definitionId="isImageGallery">
860 </reference>
861 </visibleWhen>
862 </command>
863 <command
864 commandId="taxeditor-editor.command.moveimgdown"
865 label="%command.label.39"
866 style="push">
867 <visibleWhen>
868 <reference
869 definitionId="isMedia">
870 </reference>
871 </visibleWhen>
872 </command>
873 <command
874 commandId="taxeditor-editor.command.moveimgup"
875 label="%command.label.40"
876 style="push">
877 <visibleWhen>
878 <reference
879 definitionId="isMedia">
880 </reference>
881 </visibleWhen>
882 </command>
883 <separator
884 name="taxeditor-editor.separator2"
885 visible="true">
886 </separator>
887 <command
888 commandId="org.eclipse.ui.edit.delete"
889 label="%command.label.41"
890 style="push">
891 </command>
892 <command
893 commandId="org.eclipse.ui.file.save"
894 label="%command.label.42"
895 style="push">
896 </command>
897 </menuContribution>
898 <menuContribution
899 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
900 <menu
901 label="%menu.label.3">
902 <dynamic
903 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
904 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
905 </dynamic>
906 </menu>
907 <command
908 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
909 label="%command.label.43"
910 style="push">
911 </command>
912 <separator
913 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
914 visible="true">
915 </separator>
916 <command
917 commandId="org.eclipse.ui.edit.delete"
918 label="%command.label.44"
919 style="push">
920 </command>
921 </menuContribution>
922 <menuContribution
923 allPopups="false"
924 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
925 <command
926 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
927 label="%command.label.45"
928 style="push">
929 <visibleWhen>
930 <reference
931 definitionId="isGroup">
932 </reference>
933 </visibleWhen>
934 </command>
935 </menuContribution>
936 <menuContribution
937 allPopups="false"
938 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
939 <command
940 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
941 icon="icons/link_obj.gif"
942 style="toggle"
943 tooltip="Show Only Individuals Associations">
944 </command>
945 </menuContribution>
946 <menuContribution
947 allPopups="false"
948 locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
949 <command
950 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
951 label="Open Associated Derivates"
952 style="push">
953 <visibleWhen
954 checkEnabled="false">
955 <and>
956 <reference
957 definitionId="isCdmStoreConnected">
958 </reference>
959 <reference
960 definitionId="isTaxonNode">
961 </reference>
962 </and>
963 </visibleWhen>
964 </command>
965 <separator
966 name="eu.etaxonomy.taxeditor.editor.separator1"
967 visible="true">
968 </separator>
969 </menuContribution>
970 <menuContribution
971 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
972 <separator
973 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
974 visible="true">
975 </separator>
976 <command
977 commandId="org.eclipse.ui.views.showView"
978 label="%command.name.40"
979 style="push">
980 <parameter
981 name="org.eclipse.ui.views.showView.viewId"
982 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
983 </parameter>
984 </command>
985 </menuContribution>
986 </extension>
987 <extension
988 point="org.eclipse.ui.handlers">
989 <handler
990 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
991 commandId="org.eclipse.ui.window.newEditor">
992 <activeWhen>
993 <not>
994 <instanceof
995 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
996 </instanceof>
997 </not>
998 </activeWhen>
999 <enabledWhen>
1000 <count
1001 value="-1">
1002 </count>
1003 </enabledWhen>
1004 </handler>
1005 <handler
1006 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1007 commandId="org.eclipse.ui.edit.delete">
1008 <activeWhen>
1009 <and>
1010 <reference
1011 definitionId="isTaxonBase">
1012 </reference>
1013 <not>
1014 <reference
1015 definitionId="isAcceptedTaxon">
1016 </reference>
1017 </not>
1018 </and>
1019 </activeWhen>
1020 </handler>
1021 <handler
1022 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1023 commandId="org.eclipse.ui.edit.delete">
1024 <activeWhen>
1025 <with
1026 variable="activePartId">
1027 <or>
1028 <equals
1029 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1030 </equals>
1031 <equals
1032 value="eu.etaxonomy.taxeditor.editor.view.media">
1033 </equals>
1034 </or>
1035 </with>
1036 </activeWhen>
1037 </handler>
1038 <handler
1039 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1040 commandId="org.eclipse.ui.edit.delete">
1041 <activeWhen>
1042 <with
1043 variable="activePartId">
1044 <equals
1045 value="eu.etaxonomy.taxeditor.editor.key">
1046 </equals>
1047 </with>
1048 </activeWhen>
1049 </handler>
1050 <handler
1051 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1052 commandId="org.eclipse.ui.edit.delete">
1053 <activeWhen>
1054 <with
1055 variable="activePartId">
1056 <equals
1057 value="eu.etaxonomy.taxeditor.editor.view.concept">
1058 </equals>
1059 </with>
1060 </activeWhen>
1061 </handler>
1062 <handler
1063 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1064 commandId="org.eclipse.ui.edit.delete">
1065 <activeWhen>
1066 <with
1067 variable="activePartId">
1068 <equals
1069 value="eu.etaxonomy.taxeditor.editor.view.uses">
1070 </equals>
1071 </with>
1072 </activeWhen>
1073 </handler>
1074 <handler
1075 class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1076 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1077 </handler>
1078 <handler
1079 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1080 commandId="org.eclipse.ui.edit.delete">
1081 <activeWhen>
1082 <with
1083 variable="activePartId">
1084 <equals
1085 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1086 </equals>
1087 </with>
1088 </activeWhen>
1089 </handler>
1090 <handler
1091 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1092 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1093 <activeWhen>
1094 <with
1095 variable="activePartId">
1096 <equals
1097 value="eu.etaxonomy.taxeditor.navigation.navigator">
1098 </equals>
1099 </with>
1100 </activeWhen>
1101 </handler>
1102 <handler
1103 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1104 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1105 </handler>
1106 <handler
1107 class="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
1108 commandId="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler">
1109 </handler>
1110 </extension>
1111 <extension
1112 name="%extension.name"
1113 point="org.eclipse.ui.commands">
1114 <category
1115 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1116 name="%category.name.0">
1117 </category>
1118 <command
1119 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1120 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1121 id="eu.etaxonomy.taxeditor.editor.command.openParent"
1122 name="%command.name">
1123 </command>
1124 <command
1125 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1126 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1127 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1128 name="%command.name.0">
1129 </command>
1130 <command
1131 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1132 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1133 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1134 name="%command.name.1">
1135 </command>
1136 <command
1137 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1138 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1139 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1140 name="%command.name.2">
1141 </command>
1142 <command
1143 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1144 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1145 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1146 name="%command.name.36">
1147 </command>
1148 <!--command
1149 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1150 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1151 name="Move Taxon">
1152 </command-->
1153 <command
1154 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1155 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1156 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1157 name="%command.name.3">
1158 </command>
1159 <command
1160 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1161 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1162 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1163 name="%command.name.4">
1164 </command>
1165 <command
1166 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1167 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1168 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1169 name="%command.name.5">
1170 </command>
1171 <command
1172 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1173 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1174 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1175 name="%command.name.6">
1176 </command>
1177 <command
1178 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1179 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1180 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1181 name="%command.name.7">
1182 </command>
1183 <command
1184 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1185 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1186 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1187 name="%command.name.8">
1188 </command>
1189 <!-- <command
1190 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1191 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1192 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1193 name="Change Accepted Taxon to Synonym">
1194 </command>-->
1195 <command
1196 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1197 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1198 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1199 name="%command.name.9">
1200 </command>
1201 <category
1202 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1203 name="%category.name.1">
1204 </category>
1205 <command
1206 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1207 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1208 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
1209 name="%command.name.10">
1210 </command>
1211 <command
1212 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1213 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1214 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
1215 name="%command.name.11">
1216 </command>
1217 <command
1218 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1219 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1220 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1221 name="%command.name.12">
1222 </command>
1223 <command
1224 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1225 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1226 id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1227 name="%command.name.13">
1228 </command>
1229 <category
1230 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1231 name="%category.name.2">
1232 </category>
1233 <command
1234 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1235 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1236 id="eu.etaxonomy.taxeditor.use.commands.adduse"
1237 name="%command.name.14">
1238 </command>
1239 <command
1240 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1241 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1242 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1243 name="%command.name.15">
1244 </command>
1245 <command
1246 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1247 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1248 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1249 name="%command.name.16">
1250 </command>
1251 <category
1252 id="eu.etaxonomy.taxeditor.editor.media.category"
1253 name="%category.name.3">
1254 </category>
1255 <command
1256 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1257 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1258 id="taxeditor-editor.command.moveimgdown"
1259 name="%command.name.19">
1260 </command>
1261 <command
1262 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1263 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1264 id="taxeditor-editor.command.newimagegallery"
1265 name="%command.name.20">
1266 </command>
1267 <command
1268 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1269 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1270 id="taxeditor-editor.newimage"
1271 name="%command.name.21">
1272 </command>
1273 <command
1274 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1275 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1276 id="taxeditor-editor.useExistingImage"
1277 name="%command.name.37">
1278 </command>
1279 <command
1280 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1281 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1282 id="taxeditor-editor.command.moveimgup"
1283 name="%command.name.22">
1284 </command>
1285 <category
1286 id="eu.etaxonomy.taxeditor.editor.new.category"
1287 name="%category.name.4">
1288 </category>
1289 <command
1290 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1291 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1292 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1293 name="%command.name.23">
1294 </command>
1295 <command
1296 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1297 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1298 id="eu.etaxonomy.taxeditor.editor.command.new.name"
1299 name="%command.name.24">
1300 </command>
1301 <command
1302 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1303 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1304 id="eu.etaxonomy.taxeditor.editor.command.new.team"
1305 name="%command.name.25">
1306 </command>
1307 <command
1308 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1309 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1310 id="eu.etaxonomy.taxeditor.editor.command.new.person"
1311 name="%command.name.26">
1312 </command>
1313 <command
1314 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1315 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1316 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1317 name="%command.name.27">
1318 </command>
1319 <category
1320 id="eu.etaxonomy.taxeditor.editor.key.category"
1321 name="%category.name.5">
1322 </category>
1323 <command
1324 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1325 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1326 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1327 name="%command.name.28">
1328 </command>
1329 <command
1330 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1331 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1332 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1333 name="%command.name.29">
1334 </command>
1335 <command
1336 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1337 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1338 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1339 name="%command.name.30">
1340 </command>
1341 <command
1342 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1343 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1344 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1345 name="%command.name.31">
1346 </command>
1347 <category
1348 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1349 name="%category.name.6">
1350 </category>
1351 <command
1352 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1353 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1354 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1355 name="%command.name.32">
1356 </command>
1357 <command
1358 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1359 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1360 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1361 name="%command.name.33">
1362 </command>
1363 <category
1364 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1365 name="%category.name.7">
1366 </category>
1367 <command
1368 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1369 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1370 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1371 name="%command.name.34">
1372 </command>
1373 <command
1374 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1375 id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1376 name="%command.name.35">
1377 </command>
1378 <command
1379 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1380 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1381 name="%command.name.38">
1382 </command>
1383 <command
1384 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1385 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1386 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1387 name="%command.name.39">
1388 </command>
1389 <command
1390 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1391 name="Show Only Individual Associations">
1392 </command>
1393 <command
1394 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1395 id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1396 name="Open Taxon Editor">
1397 <commandParameter
1398 id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1399 name="taxonUUID"
1400 optional="false"
1401 typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1402 </commandParameter>
1403 </command>
1404 <commandParameterType
1405 converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1406 id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1407 type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1408 </commandParameterType>
1409 <command
1410 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1411 id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1412 name="Create Field Unit">
1413 </command>
1414 <command
1415 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1416 id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1417 name="Deep Delete">
1418 </command>
1419 <command
1420 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
1421 id="eu.etaxonomy.taxeditor.editor.handler.OpenFixClassificationHierarchyHandler"
1422 name="Fix Classification Hierarchy">
1423 </command>
1424 </extension>
1425 <extension
1426 point="org.eclipse.core.expressions.definitions">
1427 <definition
1428 id="nameEditorActive">
1429 <with
1430 variable="activeEditorId">
1431 <equals
1432 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1433 </equals>
1434 </with>
1435 </definition>
1436 <definition
1437 id="isAcceptedTaxon">
1438 <with
1439 variable="selection">
1440 <test
1441 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1442 </test>
1443 </with>
1444 </definition>
1445 <definition
1446 id="isSynonym">
1447 <with
1448 variable="selection">
1449 <test
1450 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1451 </test>
1452 </with>
1453 </definition>
1454 <definition
1455 id="isMisapplication">
1456 <with
1457 variable="selection">
1458 <test
1459 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1460 </test>
1461 </with>
1462 </definition>
1463 <definition
1464 id="isTaxonBase">
1465 <with
1466 variable="selection">
1467 <test
1468 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1469 </test>
1470 </with>
1471 </definition>
1472 <definition
1473 id="hasEmptyNames">
1474 <with
1475 variable="selection">
1476 <test
1477 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1478 </test>
1479 </with>
1480 </definition>
1481 <definition
1482 id="isDeletable">
1483 <with
1484 variable="selection">
1485 <test
1486 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1487 </test>
1488 </with>
1489 </definition>
1490 <definition
1491 id="isMedia">
1492 <with
1493 variable="selection">
1494 <test
1495 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1496 </test>
1497 </with>
1498 </definition>
1499 <definition
1500 id="isTaxonEditor">
1501 <with
1502 variable="selection">
1503 <test
1504 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1505 </test>
1506 </with>
1507 </definition>
1508 <definition
1509 id="isBulkEditor">
1510 <with
1511 variable="selection">
1512 <test
1513 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1514 </test>
1515 </with>
1516 </definition>
1517 <definition
1518 id="isDerivateEditor">
1519 <with
1520 variable="selection">
1521 <test
1522 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1523 </test>
1524 </with>
1525 </definition>
1526 <definition
1527 id="isDescription">
1528 <with
1529 variable="selection">
1530 <test
1531 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1532 </test>
1533 </with>
1534 </definition>
1535 <definition
1536 id="isDescriptionElement">
1537 <with
1538 variable="selection">
1539 <test
1540 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1541 </test>
1542 </with>
1543 </definition>
1544 <definition
1545 id="isFeatureNodeContainer">
1546 <with
1547 variable="selection">
1548 <test
1549 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1550 </test>
1551 </with>
1552 </definition>
1553 <definition
1554 id="isImageGallery">
1555 <with
1556 variable="selection">
1557 <test
1558 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1559 </test>
1560 </with>
1561 </definition>
1562 <definition
1563 id="isAcceptedAndHasNoHomotypicSynonyms">
1564 <with
1565 variable="selection">
1566 <test
1567 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1568 </test>
1569 </with>
1570 </definition>
1571 <definition
1572 id="isGroup">
1573 <with
1574 variable="activeEditor">
1575 <test
1576 property="taxeditor-bulkeditor.propertyTester.isGroup">
1577 </test>
1578 </with>
1579 </definition>
1580 </extension>
1581 <extension
1582 point="org.eclipse.core.expressions.propertyTesters">
1583 <propertyTester
1584 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1585 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1586 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1587 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1588 type="org.eclipse.jface.viewers.IStructuredSelection">
1589 </propertyTester>
1590 <propertyTester
1591 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1592 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1593 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1594 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
1595 type="org.eclipse.jface.viewers.TreeSelection">
1596 </propertyTester>
1597 <propertyTester
1598 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1599 id="taxeditor-bulkeditor.PropertyTester"
1600 namespace="taxeditor-bulkeditor.propertyTester"
1601 properties="isGroup"
1602 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1603 </propertyTester>
1604 </extension>
1605 <extension
1606 point="org.eclipse.ui.bindings">
1607 <scheme
1608 description="%scheme.description"
1609 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1610 name="%scheme.name">
1611 </scheme>
1612 </extension>
1613 <extension
1614 point="org.eclipse.ui.importWizards">
1615 <wizard
1616 category="eu.etaxonomy.taxeditor.import.category.cdm"
1617 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1618 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1619 name="%wizard.name">
1620 <description>
1621 %wizard.description
1622 </description>
1623 </wizard>
1624 </extension>
1625 <extension
1626 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1627 <cdmViewer
1628 class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1629 </cdmViewer>
1630 </extension>
1631 </plugin>