Structure derivative editor context menu (#5406)
[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.dataimport.SpecimenImportEditor"
63 default="false"
64 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
65 name="%editor.name.6">
66 </editor>
67 <editor
68 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
69 default="false"
70 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
71 name="%editor.name.7">
72 </editor>
73 <editor
74 class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
75 icon="icons/check.png"
76 id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
77 name="%editor.name.8">
78 </editor>
79 <editor
80 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
81 default="false"
82 icon="icons/derivate_view-16x16-32.png"
83 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
84 name="Derivative Editor">
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="%extension.name.0" 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="%markerContentGenerator.name">
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 <visibleWhen
246 checkEnabled="true">
247 <reference
248 definitionId="isCdmStoreConnected">
249 </reference>
250 </visibleWhen>
251 </command>
252 <command
253 commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
254 label="%command.label.47"
255 style="push">
256 <visibleWhen
257 checkEnabled="true">
258 <reference
259 definitionId="isCdmStoreConnected">
260 </reference>
261 </visibleWhen>
262 </command>
263 <command
264 commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
265 label="%command.label.1"
266 style="push">
267 <visibleWhen
268 checkEnabled="true">
269 <reference
270 definitionId="isCdmStoreConnected">
271 </reference>
272 </visibleWhen>
273 </command>
274 <command
275 commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
276 label="%command.label.2"
277 style="push">
278 <visibleWhen
279 checkEnabled="true">
280 <reference
281 definitionId="isCdmStoreConnected">
282 </reference>
283 </visibleWhen>
284 </command>
285 <separator
286 name="eu.etaxonomy.navigation.menu.new.separator2"
287 visible="true">
288 </separator>
289 <separator
290 name="eu.etaxonomy.navigation.menu.new.separator3"
291 visible="true">
292 </separator>
293 <command
294 commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
295 label="%command.label.48"
296 style="push">
297 </command>
298 </menuContribution>
299 <menuContribution
300 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
301 <command
302 commandId="org.eclipse.ui.views.showView"
303 label="%command.label.4"
304 style="push">
305 <parameter
306 name="org.eclipse.ui.views.showView.viewId"
307 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
308 </parameter>
309 <visibleWhen
310 checkEnabled="true">
311 <reference
312 definitionId="isCdmStoreConnected">
313 </reference>
314 </visibleWhen>
315 </command>
316 <separator
317 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
318 visible="true">
319 </separator>
320 <command
321 commandId="org.eclipse.ui.views.showView"
322 label="%command.label.5"
323 style="push">
324 <parameter
325 name="org.eclipse.ui.views.showView.viewId"
326 value="eu.etaxonomy.taxeditor.editor.view.media">
327 </parameter>
328 <visibleWhen
329 checkEnabled="true">
330 <reference
331 definitionId="isCdmStoreConnected">
332 </reference>
333 </visibleWhen>
334 </command>
335 <command
336 commandId="org.eclipse.ui.views.showView"
337 label="%command.label.6"
338 style="push">
339 <parameter
340 name="org.eclipse.ui.views.showView.viewId"
341 value="eu.etaxonomy.taxeditor.editor.view.concept">
342 </parameter>
343 <visibleWhen
344 checkEnabled="true">
345 <reference
346 definitionId="isCdmStoreConnected">
347 </reference>
348 </visibleWhen>
349 </command>
350 <command
351 commandId="org.eclipse.ui.views.showView"
352 label="%command.label.7"
353 style="push">
354 <parameter
355 name="org.eclipse.ui.views.showView.viewId"
356 value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
357 </parameter>
358 <visibleWhen
359 checkEnabled="true">
360 <and>
361 <reference
362 definitionId="isShowExperimentalFeatures">
363 </reference>
364 <reference
365 definitionId="isCdmStoreConnected">
366 </reference>
367 </and>
368 </visibleWhen>
369 </command>
370 <separator
371 name="eu.etaxonomy.taxeditor.store.separator_derivative_start"
372 visible="true">
373 </separator>
374 <command
375 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
376 label="Derivative Editor"
377 style="push">
378 <visibleWhen
379 checkEnabled="true">
380 <reference
381 definitionId="isCdmStoreConnected">
382 </reference>
383 </visibleWhen>
384 </command>
385 <separator
386 name="eu.etaxonomy.taxeditor.editor.separator1"
387 visible="true">
388 </separator>
389 </menuContribution>
390 <menuContribution
391 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
392 <separator
393 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
394 visible="true">
395 </separator>
396 <command
397 commandId="org.eclipse.ui.views.showView"
398 label="%command.name.40"
399 style="push">
400 <parameter
401 name="org.eclipse.ui.views.showView.viewId"
402 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
403 </parameter>
404 <visibleWhen
405 checkEnabled="true">
406 <reference
407 definitionId="isCdmStoreConnected">
408 </reference>
409 </visibleWhen>
410 </command>
411 </menuContribution>
412 <menuContribution
413 locationURI="menu:org.eclipse.ui.main.menu.navigate">
414 <command
415 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
416 label="%command.label.8"
417 style="push">
418 </command>
419 </menuContribution>
420 <menuContribution
421 locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
422 <menu
423 label="%menu.label">
424 <command
425 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
426 label="%command.label.9"
427 style="push">
428 <visibleWhen>
429 <reference
430 definitionId="isAcceptedTaxon">
431 </reference>
432 </visibleWhen>
433 </command>
434 <command
435 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
436 label="%command.label.10"
437 style="push">
438 <visibleWhen>
439 <reference
440 definitionId="isAcceptedTaxon">
441 </reference>
442 </visibleWhen>
443 </command>
444 <command
445 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
446 label="%command.label.11"
447 style="push">
448 <visibleWhen>
449 <reference
450 definitionId="isSynonym">
451 </reference>
452 </visibleWhen>
453 </command>
454 <separator
455 name="separator1"
456 visible="true">
457 </separator>
458 <command
459 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
460 label="%command.label.49"
461 style="push">
462 <visibleWhen>
463 <or>
464 <reference
465 definitionId="isAcceptedTaxon">
466 </reference>
467 <reference
468 definitionId="isMisapplication">
469 </reference>
470 </or>
471 </visibleWhen>
472 </command>
473 </menu>
474 <!--<command
475 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
476 label="Change Accepted Taxon to Synonym"
477 style="push">
478 <visibleWhen
479 checkEnabled="true">
480 <reference
481 definitionId="isAcceptedAndHasNoHomotypicSynonyms">
482 </reference>
483 </visibleWhen
484 <visibleWhen>
485 <or>
486 <reference
487 definitionId="isAcceptedTaxon">
488 </reference>
489 <reference
490 definitionId="isMisapplication">
491 </reference>
492 </or>
493 </visibleWhen>
494 </command>-->
495 <menu
496 label="%menu.label.0">
497 <command
498 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
499 label="%command.label.12"
500 style="push">
501 <visibleWhen>
502 <not>
503 <or>
504 <reference
505 definitionId="isAcceptedTaxon">
506 </reference>
507 <reference
508 definitionId="isMisapplication">
509 </reference>
510 </or>
511 </not>
512 </visibleWhen>
513 </command>
514 <command
515 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
516 label="%command.label.13"
517 style="push">
518 <visibleWhen>
519 <not>
520 <or>
521 <reference
522 definitionId="isAcceptedTaxon">
523 </reference>
524 <reference
525 definitionId="isSynonym">
526 </reference>
527 </or>
528 </not>
529 </visibleWhen>
530 </command>
531 <command
532 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
533 label="%command.label.14"
534 style="push">
535 <visibleWhen>
536 <not>
537 <or>
538 <reference
539 definitionId="isAcceptedTaxon">
540 </reference>
541 <reference
542 definitionId="isMisapplication">
543 </reference>
544 </or>
545 </not>
546 </visibleWhen>
547 </command>
548 </menu>
549 <separator
550 name="taxeditor-editor.separator1"
551 visible="true">
552 </separator>
553 <command
554 commandId="eu.etaxonomy.taxeditor.editor.name.delete"
555 label="%command.label.15"
556 style="push">
557 <visibleWhen>
558 <or>
559 <reference
560 definitionId="isSynonym">
561 </reference>
562 <reference
563 definitionId="isMisapplication">
564 </reference>
565 <reference
566 definitionId="isConceptRelation">
567 </reference>
568 </or>
569 </visibleWhen>
570 </command>
571 <command
572 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
573 label="%command.label.16"
574 style="push">
575 <visibleWhen>
576 <reference
577 definitionId="hasEmptyNames">
578 </reference>
579 </visibleWhen>
580 </command>
581 <separator
582 name="taxeditor-editor.separator2"
583 visible="true">
584 </separator>
585 <dynamic
586 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
587 id="taxeditor-editor.dynamic.setBasionym">
588 <visibleWhen>
589 <or>
590 <reference
591 definitionId="isAcceptedTaxon">
592 </reference>
593 <reference
594 definitionId="isSynonym">
595 </reference>
596 </or>
597 </visibleWhen>
598 </dynamic>
599 <command
600 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
601 label="%command.label.17"
602 style="push">
603 <visibleWhen>
604 <reference
605 definitionId="isSynonym">
606 </reference>
607 </visibleWhen>
608 </command>
609 <command
610 commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
611 label="%command.label.56"
612 style="push">
613 <visibleWhen>
614 <reference
615 definitionId="isSynonym">
616 </reference>
617 </visibleWhen>
618 </command>
619 <separator
620 name="taxeditor-editor.separator3"
621 visible="true">
622 </separator>
623 <command
624 commandId="org.eclipse.ui.views.showView"
625 label="%command.label.18"
626 style="push">
627 <parameter
628 name="org.eclipse.ui.views.showView.viewId"
629 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
630 </parameter>
631 </command>
632 <separator
633 name="taxeditor-editor.separator4"
634 visible="true">
635 </separator>
636 <command
637 commandId="org.eclipse.ui.file.save"
638 label="%command.label.19"
639 style="push">
640 </command>
641 </menuContribution>
642 <menuContribution
643 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
644 <command
645 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
646 label="%command.label.20"
647 style="push">
648 </command>
649 <separator
650 name="taxeditor-editor.separator1"
651 visible="true">
652 </separator>
653 <command
654 commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
655 label="%command.label.21"
656 style="push">
657 </command>
658 <separator
659 name="taxeditor-editor.separator2"
660 visible="true">
661 </separator>
662 <command
663 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
664 label="%command.label.22"
665 style="push">
666 </command>
667 <separator
668 name="taxeditor-editor.separator3"
669 visible="true">
670 </separator>
671 </menuContribution>
672 <menuContribution
673 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
674 <command
675 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
676 label="%command.label.23"
677 style="push">
678 </command>
679 <command
680 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
681 label="%command.label.24"
682 style="push">
683 </command>
684 <command
685 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
686 label="%command.label.25"
687 style="push">
688 </command>
689 <command
690 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
691 label="%command.label.26"
692 style="push">
693 </command>
694 </menuContribution>
695 <menuContribution
696 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
697 <command
698 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
699 label="%command.label.27"
700 style="push">
701 </command>
702 <separator
703 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
704 visible="true">
705 </separator>
706 <menu
707 label="%menu.label.1">
708 <dynamic
709 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
710 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
711 </dynamic>
712 <visibleWhen
713 checkEnabled="true">
714 <or>
715 <reference
716 definitionId="isDescription">
717 </reference>
718 <reference
719 definitionId="isDescriptionElement">
720 </reference>
721 <reference
722 definitionId="isFeatureNodeContainer">
723 </reference>
724 </or>
725 </visibleWhen>
726 </menu>
727 <command
728 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
729 label="%command.label.28"
730 style="push">
731 <visibleWhen
732 checkEnabled="true">
733 <reference
734 definitionId="isDescription">
735 </reference>
736 </visibleWhen>
737 </command>
738 <command
739 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
740 label="%command.label.29"
741 style="push">
742 <visibleWhen
743 checkEnabled="true">
744 <or>
745 <reference
746 definitionId="isFeatureNodeContainer">
747 </reference>
748 <reference
749 definitionId="isDescriptionElement">
750 </reference>
751 </or>
752 </visibleWhen>
753 </command>
754 <separator
755 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
756 visible="true">
757 </separator>
758 <command
759 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
760 label="%command.label.30"
761 style="push">
762 </command>
763 <separator
764 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
765 visible="true">
766 </separator>
767 <command
768 commandId="org.eclipse.ui.file.save"
769 label="%command.label.31"
770 style="push">
771 </command>
772 <separator
773 name="eu.etaxonomy.taxeditor.editor.separator1">
774 </separator>
775 </menuContribution>
776 <menuContribution
777 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
778 <separator
779 name="eu.etaxonomy.taxeditor.editor.separator4"
780 visible="true">
781 </separator>
782 <dynamic
783 class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
784 id="eu.etaxonomy.taxeditor.editor.derivativeEditor.CdmViewerContextMenu">
785 </dynamic>
786 <dynamic
787 class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
788 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
789 </dynamic>
790 <separator
791 name="eu.etaxonomy.taxeditor.editor.separator3"
792 visible="true">
793 </separator>
794 <command
795 commandId="org.eclipse.ui.edit.delete"
796 label="%command.label.52"
797 style="push">
798 </command>
799 <command
800 commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
801 icon="icons/deep-delete-16x16-32.png"
802 label="%command.label.54"
803 style="push">
804 </command>
805 </menuContribution>
806 <menuContribution
807 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
808 <dynamic
809 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
810 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
811 </dynamic>
812 </menuContribution>
813 <menuContribution
814 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
815 <dynamic
816 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
817 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
818 </dynamic>
819 </menuContribution>
820
821
822
823
824 <menuContribution
825 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
826 <command
827 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
828 label="%command.label.32"
829 style="push">
830 </command>
831 <command
832 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
833 label="%command.label.33"
834 style="push">
835 <visibleWhen
836 checkEnabled="true">
837 <or>
838 <reference
839 definitionId="isDescription">
840 </reference>
841 <reference
842 definitionId="isDescriptionElement">
843 </reference>
844 <reference
845 definitionId="isFeatureNodeContainer">
846 </reference>
847 </or>
848 </visibleWhen>
849 </command>
850 <command
851 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
852 label="%command.label.34"
853 style="push">
854 <visibleWhen
855 checkEnabled="true">
856 <or>
857 <reference
858 definitionId="isDescription">
859 </reference>
860 <reference
861 definitionId="isDescriptionElement">
862 </reference>
863 <reference
864 definitionId="isFeatureNodeContainer">
865 </reference>
866 </or>
867 </visibleWhen>
868 </command>
869 <separator
870 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
871 visible="true">
872 </separator>
873 <separator
874 name="taxeditor-editor.separator1"
875 visible="true">
876 </separator>
877 <separator
878 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
879 visible="true">
880 </separator>
881 <command
882 commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
883 label="%command.label.35"
884 style="push">
885 </command>
886 <separator
887 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
888 visible="true">
889 </separator>
890 <command
891 commandId="org.eclipse.ui.file.save"
892 label="%command.label.36"
893 style="push">
894 </command>
895 </menuContribution>
896
897
898
899
900
901 <menuContribution
902 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
903 <command
904 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
905 label="%command.label.37"
906 style="push">
907 <visibleWhen>
908 <or>
909 <reference
910 definitionId="isBulkEditor">
911 </reference>
912 <reference
913 definitionId="isTaxonEditor">
914 </reference>
915 <reference
916 definitionId="isDerivateEditor">
917 </reference>
918 </or>
919 </visibleWhen>
920 </command>
921 <separator
922 name="taxeditor-editor.separator1"
923 visible="true">
924 </separator>
925 <command
926 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
927 label="%command.label.38"
928 style="push">
929 <visibleWhen>
930 <reference
931 definitionId="isImageGallery">
932 </reference>
933 </visibleWhen>
934 </command>
935 <command
936 commandId="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
937 label="%command.label.50"
938 style="push">
939 <visibleWhen>
940 <reference
941 definitionId="isImageGallery">
942 </reference>
943 </visibleWhen>
944 </command>
945 <command
946 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
947 label="%command.label.39"
948 style="push">
949 <visibleWhen>
950 <reference
951 definitionId="isMedia">
952 </reference>
953 </visibleWhen>
954 </command>
955 <command
956 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
957 label="%command.label.40"
958 style="push">
959 <visibleWhen>
960 <reference
961 definitionId="isMedia">
962 </reference>
963 </visibleWhen>
964 </command>
965 <separator
966 name="taxeditor-editor.separator2"
967 visible="true">
968 </separator>
969 <command
970 commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
971 label="%command.label.41"
972 style="push">
973 </command>
974 <command
975 commandId="org.eclipse.ui.file.save"
976 label="%command.label.42"
977 style="push">
978 </command>
979 </menuContribution>
980 <menuContribution
981 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
982 <menu
983 label="%menu.label.3">
984 <dynamic
985 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
986 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
987 </dynamic>
988 </menu>
989 <command
990 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
991 label="%command.label.43"
992 style="push">
993 </command>
994 <separator
995 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
996 visible="true">
997 </separator>
998 <command
999 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1000 label="%command.label.44"
1001 style="push">
1002 </command>
1003 </menuContribution>
1004 <menuContribution
1005 allPopups="false"
1006 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
1007 <command
1008 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1009 label="%command.label.45"
1010 style="push">
1011 <visibleWhen>
1012 <reference
1013 definitionId="isGroupEditor">
1014 </reference>
1015 </visibleWhen>
1016 </command>
1017 </menuContribution>
1018 <menuContribution
1019 allPopups="false"
1020 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1021 <command
1022 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1023 icon="icons/link_obj.gif"
1024 style="toggle"
1025 tooltip="%command.tooltip">
1026 </command>
1027 </menuContribution>
1028 <menuContribution
1029 allPopups="false"
1030 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
1031 <toolbar
1032 id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
1033 <command
1034 commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1035 icon="icons/synced.gif"
1036 label="Link with Taxon Selection"
1037 style="toggle">
1038 <visibleWhen
1039 checkEnabled="true">
1040 <with
1041 variable="activePartId">
1042 <equals
1043 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1044 </equals>
1045 </with>
1046 </visibleWhen>
1047 </command>
1048 </toolbar>
1049 </menuContribution>
1050 </extension>
1051 <extension
1052 point="org.eclipse.ui.handlers">
1053 <handler
1054 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1055 commandId="org.eclipse.ui.window.newEditor">
1056 <activeWhen>
1057 <not>
1058 <instanceof
1059 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1060 </instanceof>
1061 </not>
1062 </activeWhen>
1063 <enabledWhen>
1064 <count
1065 value="-1">
1066 </count>
1067 </enabledWhen>
1068 </handler>
1069 <handler
1070 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1071 commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
1072 <activeWhen>
1073 <and>
1074 <reference
1075 definitionId="isTaxonBase">
1076 </reference>
1077 <not>
1078 <reference
1079 definitionId="isAcceptedTaxon">
1080 </reference>
1081 </not>
1082 </and>
1083 </activeWhen>
1084 </handler>
1085 <handler
1086 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1087 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete">
1088 <activeWhen>
1089 <with
1090 variable="activePartId">
1091 <or>
1092 <equals
1093 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1094 </equals>
1095 <equals
1096 value="eu.etaxonomy.taxeditor.editor.view.media">
1097 </equals>
1098 <equals
1099 value="eu.etaxonomy.taxeditor.editor.view.uses">
1100 </equals>
1101 </or>
1102 </with>
1103 </activeWhen>
1104 </handler>
1105 <handler
1106 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1107 commandId="eu.etaxonomy.taxeditor.editor.key.polytomous.command.delete">
1108 <activeWhen>
1109 <with
1110 variable="activePartId">
1111 <equals
1112 value="eu.etaxonomy.taxeditor.editor.key">
1113 </equals>
1114 </with>
1115 </activeWhen>
1116 </handler>
1117 <handler
1118 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1119 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete">
1120 <activeWhen>
1121 <with
1122 variable="activePartId">
1123 <equals
1124 value="eu.etaxonomy.taxeditor.editor.view.concept">
1125 </equals>
1126 </with>
1127 </activeWhen>
1128 </handler>
1129 <handler
1130 class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1131 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1132 </handler>
1133 <handler
1134 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1135 commandId="org.eclipse.ui.edit.delete">
1136 <activeWhen>
1137 <with
1138 variable="activePartId">
1139 <equals
1140 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1141 </equals>
1142 </with>
1143 </activeWhen>
1144 </handler>
1145 <handler
1146 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1147 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1148 </handler>
1149 <handler
1150 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
1151 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
1152 <activeWhen>
1153 <reference
1154 definitionId="isRemoting">
1155 </reference>
1156 </activeWhen>
1157 </handler>
1158 <handler
1159 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
1160 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
1161 <activeWhen>
1162 <reference
1163 definitionId="isRemoting">
1164 </reference>
1165 </activeWhen>
1166 </handler>
1167 <handler
1168 class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
1169 commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
1170 <activeWhen>
1171 <with
1172 variable="activePartId">
1173 <equals
1174 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1175 </equals>
1176 </with>
1177 </activeWhen>
1178 </handler>
1179 </extension>
1180 <extension
1181 name="%extension.name"
1182 point="org.eclipse.ui.commands">
1183 <category
1184 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1185 name="%category.name.0">
1186 </category>
1187 <command
1188 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1189 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1190 id="eu.etaxonomy.taxeditor.editor.command.openParent"
1191 name="%command.name">
1192 </command>
1193 <command
1194 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1195 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1196 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1197 name="%command.name.0">
1198 </command>
1199 <command
1200 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1201 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1202 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1203 name="%command.name.1">
1204 </command>
1205 <command
1206 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1207 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1208 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1209 name="%command.name.2">
1210 </command>
1211 <command
1212 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1213 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1214 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1215 name="%command.name.36">
1216 </command>
1217 <!--command
1218 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1219 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1220 name="Move Taxon">
1221 </command-->
1222 <command
1223 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1224 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1225 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1226 name="%command.name.3">
1227 </command>
1228 <command
1229 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1230 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1231 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1232 name="%command.name.4">
1233 </command>
1234 <command
1235 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1236 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1237 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1238 name="%command.name.5">
1239 </command>
1240 <command
1241 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1242 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1243 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1244 name="%command.name.6">
1245 </command>
1246 <command
1247 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1248 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1249 id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1250 name="%command.name.46">
1251 </command>
1252 <command
1253 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1254 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1255 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1256 name="%command.name.7">
1257 </command>
1258 <command
1259 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1260 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1261 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1262 name="%command.name.8">
1263 </command>
1264 <!-- <command
1265 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1266 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1267 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1268 name="Change Accepted Taxon to Synonym">
1269 </command>-->
1270 <command
1271 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1272 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1273 id="eu.etaxonomy.taxeditor.editor.name.delete"
1274 name="%command.name.45">
1275 </command>
1276 <command
1277 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1278 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1279 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1280 name="%command.name.9">
1281 </command>
1282 <category
1283 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1284 name="%category.name.1">
1285 </category>
1286 <command
1287 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1288 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1289 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1290 name="%command.name.10">
1291 </command>
1292 <command
1293 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1294 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1295 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1296 name="%command.name.11">
1297 </command>
1298 <command
1299 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1300 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1301 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1302 name="%command.name.48">
1303 </command>
1304 <category
1305 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1306 name="%category.name.2">
1307 </category>
1308 <command
1309 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1310 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1311 id="eu.etaxonomy.taxeditor.use.commands.adduse"
1312 name="%command.name.14">
1313 </command>
1314 <command
1315 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1316 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1317 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1318 name="%command.name.16">
1319 </command>
1320 <command
1321 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1322 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1323 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1324 name="%command.name.15">
1325 </command>
1326 <command
1327 id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1328 name="%command.name.47">
1329 </command>
1330 <category
1331 id="eu.etaxonomy.taxeditor.editor.media.category"
1332 name="%category.name.3">
1333 </category>
1334 <command
1335 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1336 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1337 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1338 name="%command.name.19">
1339 </command>
1340 <command
1341 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1342 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1343 id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1344 name="%command.name.20">
1345 </command>
1346 <command
1347 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1348 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1349 id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1350 name="%command.name.21">
1351 </command>
1352 <command
1353 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1354 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1355 id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1356 name="%command.name.37">
1357 </command>
1358 <command
1359 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1360 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1361 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1362 name="%command.name.22">
1363 </command>
1364 <command
1365 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1366 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1367 id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1368 name="%command.name.49">
1369 </command>
1370
1371 <category
1372 id="eu.etaxonomy.taxeditor.editor.new.category"
1373 name="%category.name.4">
1374 </category>
1375 <command
1376 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1377 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1378 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1379 name="%command.name.23">
1380 </command>
1381 <command
1382 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1383 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1384 id="eu.etaxonomy.taxeditor.editor.command.new.name"
1385 name="%command.name.24">
1386 </command>
1387 <command
1388 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1389 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1390 id="eu.etaxonomy.taxeditor.editor.command.new.team"
1391 name="%command.name.25">
1392 </command>
1393 <command
1394 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1395 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1396 id="eu.etaxonomy.taxeditor.editor.command.new.person"
1397 name="%command.name.26">
1398 </command>
1399 <category
1400 id="eu.etaxonomy.taxeditor.editor.key.category"
1401 name="%category.name.5">
1402 </category>
1403 <command
1404 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1405 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1406 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1407 name="%command.name.28">
1408 </command>
1409 <command
1410 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1411 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1412 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1413 name="%command.name.29">
1414 </command>
1415 <command
1416 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1417 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1418 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1419 name="%command.name.30">
1420 </command>
1421 <command
1422 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1423 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1424 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1425 name="%command.name.31">
1426 </command>
1427 <command
1428 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1429 id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1430 name="%command.name.50">
1431 </command>
1432 <category
1433 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1434 name="%category.name.6">
1435 </category>
1436 <command
1437 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1438 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1439 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1440 name="%command.name.32">
1441 </command>
1442 <command
1443 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1444 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1445 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1446 name="%command.name.33">
1447 </command>
1448 <command
1449 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1450 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1451 id="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1452 name="%command.name.51">
1453 </command>
1454 <category
1455 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1456 name="%category.name.7">
1457 </category>
1458 <command
1459 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1460 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1461 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1462 name="%command.name.34">
1463 </command>
1464 <command
1465 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1466 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1467 name="%command.name.38">
1468 </command>
1469 <command
1470 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1471 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1472 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1473 name="%command.name.39">
1474 </command>
1475 <command
1476 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1477 name="%command.name.41">
1478 </command>
1479 <command
1480 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonHandler"
1481 id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1482 name="%command.name.42">
1483 <commandParameter
1484 id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
1485 name="%commandParameter.name"
1486 optional="false"
1487 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1488 </commandParameter>
1489 </command>
1490 <command
1491 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
1492 id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1493 name="Open Taxon Editor for taxonnode">
1494 <commandParameter
1495 id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
1496 name="taxon node uuid"
1497 optional="true"
1498 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1499 </commandParameter>
1500 </command>
1501 <command
1502 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1503 id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1504 name="%command.name.44">
1505 </command>
1506 <command
1507 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1508 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1509 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1510 name="%command.name.13">
1511 </command>
1512
1513 <command
1514 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1515 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1516 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1517 name="%command.name.12">
1518 </command>
1519 <command
1520 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1521 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1522 name="Open Derivative Editor">
1523 </command>
1524 <command
1525 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1526 id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1527 name="Link with taxon selection">
1528 </command>
1529
1530 </extension>
1531 <extension
1532 point="org.eclipse.core.expressions.definitions">
1533 <definition
1534 id="nameEditorActive">
1535 <with
1536 variable="activeEditorId">
1537 <equals
1538 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1539 </equals>
1540 </with>
1541 </definition>
1542 <definition
1543 id="isAcceptedTaxon">
1544 <with
1545 variable="selection">
1546 <test
1547 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1548 </test>
1549 </with>
1550 </definition>
1551 <definition
1552 id="isSynonym">
1553 <with
1554 variable="selection">
1555 <test
1556 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1557 </test>
1558 </with>
1559 </definition>
1560 <definition
1561 id="isMisapplication">
1562 <with
1563 variable="selection">
1564 <test
1565 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1566 </test>
1567 </with>
1568 </definition>
1569 <definition
1570 id="isTaxonBase">
1571 <with
1572 variable="selection">
1573 <test
1574 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1575 </test>
1576 </with>
1577 </definition>
1578 <definition
1579 id="hasEmptyNames">
1580 <with
1581 variable="selection">
1582 <test
1583 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1584 </test>
1585 </with>
1586 </definition>
1587 <definition
1588 id="isDeletable">
1589 <with
1590 variable="selection">
1591 <test
1592 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1593 </test>
1594 </with>
1595 </definition>
1596 <definition
1597 id="isMedia">
1598 <with
1599 variable="selection">
1600 <test
1601 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1602 </test>
1603 </with>
1604 </definition>
1605 <definition
1606 id="isTaxonEditor">
1607 <with
1608 variable="selection">
1609 <test
1610 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1611 </test>
1612 </with>
1613 </definition>
1614 <definition
1615 id="isBulkEditor">
1616 <with
1617 variable="selection">
1618 <test
1619 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1620 </test>
1621 </with>
1622 </definition>
1623 <definition
1624 id="isDerivateEditor">
1625 <with
1626 variable="selection">
1627 <test
1628 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1629 </test>
1630 </with>
1631 </definition>
1632 <definition
1633 id="isDescription">
1634 <with
1635 variable="selection">
1636 <test
1637 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1638 </test>
1639 </with>
1640 </definition>
1641 <definition
1642 id="isDescriptionElement">
1643 <with
1644 variable="selection">
1645 <test
1646 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1647 </test>
1648 </with>
1649 </definition>
1650 <definition
1651 id="isFeatureNodeContainer">
1652 <with
1653 variable="selection">
1654 <test
1655 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1656 </test>
1657 </with>
1658 </definition>
1659 <definition
1660 id="isImageGallery">
1661 <with
1662 variable="selection">
1663 <test
1664 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1665 </test>
1666 </with>
1667 </definition>
1668 <definition
1669 id="isAcceptedAndHasNoHomotypicSynonyms">
1670 <with
1671 variable="selection">
1672 <test
1673 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1674 </test>
1675 </with>
1676 </definition>
1677 <definition
1678 id="isGroupEditor">
1679 <with
1680 variable="activeEditor">
1681 <test
1682 property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1683 </test>
1684 </with>
1685 </definition>
1686 <definition
1687 id="isIndividualsAssociation">
1688 <with
1689 variable="selection">
1690 <test
1691 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1692 </test>
1693 </with>
1694 </definition>
1695 <definition
1696 id="isRemoting">
1697 <test
1698 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1699 </test>
1700 </definition>
1701 <definition
1702 id="isSequence">
1703 <with
1704 variable="selection">
1705 <test
1706 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1707 </test>
1708 </with>
1709 </definition>
1710 <definition
1711 id="isSingleRead">
1712 <with
1713 variable="selection">
1714 <test
1715 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1716 </test>
1717 </with>
1718 </definition>
1719 </extension>
1720 <extension
1721 point="org.eclipse.core.expressions.propertyTesters">
1722 <propertyTester
1723 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1724 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1725 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1726 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1727 type="org.eclipse.jface.viewers.IStructuredSelection">
1728 </propertyTester>
1729 <propertyTester
1730 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1731 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1732 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1733 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1734 type="org.eclipse.jface.viewers.TreeSelection">
1735 </propertyTester>
1736 <propertyTester
1737 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1738 id="taxeditor-bulkeditor.PropertyTester"
1739 namespace="taxeditor-bulkeditor.propertyTester"
1740 properties="isGroupEditor"
1741 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1742 </propertyTester>
1743 <propertyTester
1744 class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1745 id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1746 namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1747 properties="isSequence,isSingleRead"
1748 type="org.eclipse.jface.viewers.IStructuredSelection">
1749 </propertyTester>
1750 </extension>
1751 <extension
1752 point="org.eclipse.ui.bindings">
1753 <scheme
1754 description="%scheme.description"
1755 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1756 name="%scheme.name">
1757 </scheme>
1758 </extension>
1759 <extension
1760 point="org.eclipse.ui.importWizards">
1761 <wizard
1762 category="eu.etaxonomy.taxeditor.import.category.cdm"
1763 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1764 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1765 name="%wizard.name">
1766 <description>
1767 %wizard.description
1768 </description>
1769 </wizard>
1770 </extension>
1771 <extension
1772 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1773 <viewCommandMapping
1774 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1775 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1776 viewerName="Taxon Editor">
1777 </viewCommandMapping>
1778 <viewCommandMapping
1779 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1780 selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
1781 viewerName="TaxonEditor">
1782 </viewCommandMapping>
1783 </extension>
1784 </plugin>