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