merge-update from trunk
[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="Multipage Taxon Editor">
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="Taxon Name Editor">
36 </editor>
37 <editor
38 class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39 default="false"
40 id="eu.etaxonomy.taxeditor.editor.key"
41 name="Key">
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="Polytomous Key Graph Editor">
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="Polytomous Key List Editor">
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="Cdm Authority Editor">
60 </editor>
61 </extension>
62 <extension
63 point="org.eclipse.ui.views">
64 <view
65 allowMultiple="false"
66 category="eu.etaxonomy.taxeditor.editor.category"
67 class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
68 icon="icons/address-book-new.png"
69 id="eu.etaxonomy.taxeditor.editor.view.descriptive"
70 name="Descriptive"
71 restorable="true">
72 </view>
73 <view
74 allowMultiple="false"
75 category="eu.etaxonomy.taxeditor.editor.category"
76 class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
77 icon="icons/leaf.png"
78 id="eu.etaxonomy.taxeditor.editor.view.uses"
79 name="Uses"
80 restorable="true">
81 </view>
82 <view
83 allowMultiple="false"
84 category="eu.etaxonomy.taxeditor.editor.category"
85 class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
86 icon="icons/camera-photo.png"
87 id="eu.etaxonomy.taxeditor.editor.view.media"
88 name="Media"
89 restorable="true">
90 </view>
91 <view
92 category="eu.etaxonomy.taxeditor.editor.category"
93 class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
94 id="eu.etaxonomy.taxeditor.editor.view.concept"
95 name="Concept Relations"
96 restorable="true">
97 </view>
98 <view
99 category="eu.etaxonomy.taxeditor.editor.category"
100 class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
101 icon="icons/address-book-new.png"
102 id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
103 name="Concept Graph"
104 restorable="true">
105 </view>
106 <view
107 allowMultiple="false"
108 category="eu.etaxonomy.taxeditor.editor.category"
109 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
110 icon="icons/leaf_detail.png"
111 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
112 name="Derivate View"
113 restorable="true">
114 </view>
115 <category
116 id="eu.etaxonomy.taxeditor.editor.category"
117 name="Taxonomic Editor">
118 </category>
119 </extension>
120 <extension
121 point="org.eclipse.ui.elementFactories">
122 <factory
123 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
124 id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
125 </factory>
126 </extension>
127 <extension
128 point="org.eclipse.ui.menus">
129 <menuContribution
130 locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
131 <command
132 commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
133 label="Reference"
134 style="push">
135 </command>
136 <command
137 commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
138 label="Name"
139 style="push">
140 </command>
141 <command
142 commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
143 label="Team"
144 style="push">
145 </command>
146 <command
147 commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
148 label="Person"
149 style="push">
150 </command>
151 <command
152 commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
153 label="Specimen"
154 style="push">
155 </command>
156 </menuContribution>
157 <menuContribution
158 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
159 <separator
160 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
161 visible="true">
162 </separator>
163 <command
164 commandId="org.eclipse.ui.views.showView"
165 label="Descriptive"
166 style="push">
167 <parameter
168 name="org.eclipse.ui.views.showView.viewId"
169 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
170 </parameter>
171 </command>
172 <command
173 commandId="org.eclipse.ui.views.showView"
174 label="Media"
175 style="push">
176 <parameter
177 name="org.eclipse.ui.views.showView.viewId"
178 value="eu.etaxonomy.taxeditor.editor.view.media">
179 </parameter>
180 </command>
181 <command
182 commandId="org.eclipse.ui.views.showView"
183 label="Concept"
184 style="push">
185 <parameter
186 name="org.eclipse.ui.views.showView.viewId"
187 value="eu.etaxonomy.taxeditor.editor.view.concept">
188 </parameter>
189 </command>
190 <command
191 commandId="org.eclipse.ui.views.showView"
192 label="Concept Graph"
193 style="push">
194 <parameter
195 name="org.eclipse.ui.views.showView.viewId"
196 value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
197 </parameter>
198 <visibleWhen
199 checkEnabled="false">
200 <reference
201 definitionId="isShowExperimentalFeatures">
202 </reference>
203 </visibleWhen>
204 </command>
205 </menuContribution>
206 <menuContribution
207 locationURI="menu:org.eclipse.ui.main.menu.navigate">
208 <command
209 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
210 label="Open Parent"
211 style="push">
212 </command>
213 </menuContribution>
214 <menuContribution
215 locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
216 <menu
217 label="New">
218 <command
219 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
220 label="Heterotypic Synonym"
221 style="push">
222 <visibleWhen>
223 <reference
224 definitionId="isAcceptedTaxon">
225 </reference>
226 </visibleWhen>
227 </command>
228 <command
229 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
230 label="Homotypic Synonym"
231 style="push">
232 <visibleWhen>
233 <reference
234 definitionId="isAcceptedTaxon">
235 </reference>
236 </visibleWhen>
237 </command>
238 <command
239 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
240 label="Synonym In Homotypical Group"
241 style="push">
242 <visibleWhen>
243 <reference
244 definitionId="isSynonym">
245 </reference>
246 </visibleWhen>
247 </command>
248 <separator
249 name="separator1"
250 visible="true">
251 </separator>
252 <command
253 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
254 label="Misapplication"
255 style="push">
256 <visibleWhen>
257 <or>
258 <reference
259 definitionId="isAcceptedTaxon">
260 </reference>
261 <reference
262 definitionId="isMisapplication">
263 </reference>
264 </or>
265 </visibleWhen>
266 </command>
267 </menu>
268 <command
269 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
270 label="Change Accepted Taxon to Synonym"
271 style="push">
272 <!--visibleWhen
273 checkEnabled="true">
274 <reference
275 definitionId="isAcceptedAndHasNoHomotypicSynonyms">
276 </reference>
277 </visibleWhen-->
278 <visibleWhen>
279 <or>
280 <reference
281 definitionId="isAcceptedTaxon">
282 </reference>
283 <reference
284 definitionId="isMisapplication">
285 </reference>
286 </or>
287 </visibleWhen>
288 </command>
289 <menu
290 label="Change To">
291 <command
292 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
293 label="Accepted Taxon"
294 style="push">
295 <visibleWhen>
296 <not>
297 <or>
298 <reference
299 definitionId="isAcceptedTaxon">
300 </reference>
301 <reference
302 definitionId="isMisapplication">
303 </reference>
304 </or>
305 </not>
306 </visibleWhen>
307 </command>
308 <command
309 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
310 label="Synonym"
311 style="push">
312 <visibleWhen>
313 <not>
314 <or>
315 <reference
316 definitionId="isAcceptedTaxon">
317 </reference>
318 <reference
319 definitionId="isSynonym">
320 </reference>
321 </or>
322 </not>
323 </visibleWhen>
324 </command>
325 <command
326 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
327 label="Misapplication"
328 style="push">
329 <visibleWhen>
330 <not>
331 <or>
332 <reference
333 definitionId="isAcceptedTaxon">
334 </reference>
335 <reference
336 definitionId="isMisapplication">
337 </reference>
338 </or>
339 </not>
340 </visibleWhen>
341 </command>
342 </menu>
343 <separator
344 name="taxeditor-editor.separator1"
345 visible="true">
346 </separator>
347 <command
348 commandId="org.eclipse.ui.edit.delete"
349 label="Delete"
350 style="push">
351 <visibleWhen>
352 <or>
353 <reference
354 definitionId="isSynonym">
355 </reference>
356 <reference
357 definitionId="isMisapplication">
358 </reference>
359 <reference
360 definitionId="isConceptRelation">
361 </reference>
362 </or>
363 </visibleWhen>
364 </command>
365 <command
366 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
367 label="Delete All Empty Names"
368 style="push">
369 <visibleWhen>
370 <reference
371 definitionId="hasEmptyNames">
372 </reference>
373 </visibleWhen>
374 </command>
375 <separator
376 name="taxeditor-editor.separator2"
377 visible="true">
378 </separator>
379 <dynamic
380 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
381 id="taxeditor-editor.dynamic.setBasionym">
382 <visibleWhen>
383 <or>
384 <reference
385 definitionId="isAcceptedTaxon">
386 </reference>
387 <reference
388 definitionId="isSynonym">
389 </reference>
390 </or>
391 </visibleWhen>
392 </dynamic>
393 <command
394 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
395 label="Swap Synonym With Accepted"
396 style="push">
397 <visibleWhen>
398 <reference
399 definitionId="isSynonym">
400 </reference>
401 </visibleWhen>
402 </command>
403 <separator
404 name="taxeditor-editor.separator3"
405 visible="true">
406 </separator>
407 <command
408 commandId="org.eclipse.ui.views.showView"
409 label="Show Details"
410 style="push">
411 <parameter
412 name="org.eclipse.ui.views.showView.viewId"
413 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
414 </parameter>
415 </command>
416 <separator
417 name="taxeditor-editor.separator4"
418 visible="true">
419 </separator>
420 <command
421 commandId="org.eclipse.ui.file.save"
422 label="Save"
423 style="push">
424 </command>
425 </menuContribution>
426 <menuContribution
427 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
428 <command
429 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
430 label="New Node"
431 style="push">
432 </command>
433 <separator
434 name="taxeditor-editor.separator1"
435 visible="true">
436 </separator>
437 <command
438 commandId="org.eclipse.ui.edit.delete"
439 label="Delete"
440 style="push">
441 </command>
442 <separator
443 name="taxeditor-editor.separator2"
444 visible="true">
445 </separator>
446 <command
447 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
448 label="Apply Layout"
449 style="push">
450 </command>
451 <separator
452 name="taxeditor-editor.separator3"
453 visible="true">
454 </separator>
455 </menuContribution>
456 <menuContribution
457 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
458 <command
459 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
460 label="New Sibling"
461 style="push">
462 </command>
463 <command
464 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
465 label="New Child"
466 style="push">
467 </command>
468 <command
469 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
470 label="Refresh Nodes"
471 style="push">
472 </command>
473 <command
474 commandId="org.eclipse.ui.edit.delete"
475 label="Delete"
476 style="push">
477 </command>
478 </menuContribution>
479 <menuContribution
480 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
481 <command
482 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
483 label="New Descriptive Data"
484 style="push">
485 </command>
486 <separator
487 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
488 visible="true">
489 </separator>
490 <menu
491 label="New">
492 <dynamic
493 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
494 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
495 </dynamic>
496 <visibleWhen
497 checkEnabled="true">
498 <or>
499 <reference
500 definitionId="isDescription">
501 </reference>
502 <reference
503 definitionId="isDescriptionElement">
504 </reference>
505 <reference
506 definitionId="isFeatureNodeContainer">
507 </reference>
508 </or>
509 </visibleWhen>
510 </menu>
511 <separator
512 name="taxeditor-editor.separator1"
513 visible="true">
514 </separator>
515 <command
516 commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
517 label="Move Elements"
518 style="push">
519 <visibleWhen
520 checkEnabled="true">
521 <reference
522 definitionId="isDescriptionElement">
523 </reference>
524 </visibleWhen>
525 </command>
526 <separator
527 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
528 visible="true">
529 </separator>
530 <command
531 commandId="org.eclipse.ui.edit.delete"
532 label="Delete"
533 style="push">
534 </command>
535 <separator
536 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
537 visible="true">
538 </separator>
539 <command
540 commandId="org.eclipse.ui.file.save"
541 label="Save"
542 style="push">
543 </command>
544 </menuContribution>
545
546
547
548
549 <menuContribution
550 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
551 <command
552 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
553 label="New Use"
554 style="push">
555 </command>
556 <command
557 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
558 label="New Use Summary"
559 style="push">
560 <visibleWhen
561 checkEnabled="true">
562 <or>
563 <reference
564 definitionId="isDescription">
565 </reference>
566 <reference
567 definitionId="isDescriptionElement">
568 </reference>
569 <reference
570 definitionId="isFeatureNodeContainer">
571 </reference>
572 </or>
573 </visibleWhen>
574 </command>
575 <command
576 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
577 label="New Use Record"
578 style="push">
579 <visibleWhen
580 checkEnabled="true">
581 <or>
582 <reference
583 definitionId="isDescription">
584 </reference>
585 <reference
586 definitionId="isDescriptionElement">
587 </reference>
588 <reference
589 definitionId="isFeatureNodeContainer">
590 </reference>
591 </or>
592 </visibleWhen>
593 </command>
594 <separator
595 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
596 visible="true">
597 </separator>
598 <separator
599 name="taxeditor-editor.separator1"
600 visible="true">
601 </separator>
602 <separator
603 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
604 visible="true">
605 </separator>
606 <command
607 commandId="org.eclipse.ui.edit.delete"
608 label="Delete"
609 style="push">
610 </command>
611 <separator
612 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
613 visible="true">
614 </separator>
615 <command
616 commandId="org.eclipse.ui.file.save"
617 label="Save"
618 style="push">
619 </command>
620 </menuContribution>
621
622
623
624
625
626 <menuContribution
627 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
628 <command
629 commandId="taxeditor-editor.command.newimagegallery"
630 label="New Image Gallery"
631 style="push">
632 </command>
633 <separator
634 name="taxeditor-editor.separator1"
635 visible="true">
636 </separator>
637 <command
638 commandId="taxeditor-editor.newimage"
639 label="New Image"
640 style="push">
641 <visibleWhen>
642 <reference
643 definitionId="isImageGallery">
644 </reference>
645 </visibleWhen>
646 </command>
647 <command
648 commandId="taxeditor-editor.command.moveimgdown"
649 label="Move Image Up In List"
650 style="push">
651 <visibleWhen>
652 <reference
653 definitionId="isMedia">
654 </reference>
655 </visibleWhen>
656 </command>
657 <command
658 commandId="taxeditor-editor.command.moveimgup"
659 label="Move Image Down In List"
660 style="push">
661 <visibleWhen>
662 <reference
663 definitionId="isMedia">
664 </reference>
665 </visibleWhen>
666 </command>
667 <separator
668 name="taxeditor-editor.separator2"
669 visible="true">
670 </separator>
671 <command
672 commandId="org.eclipse.ui.edit.delete"
673 label="Delete"
674 style="push">
675 </command>
676 <command
677 commandId="org.eclipse.ui.file.save"
678 label="Save"
679 style="push">
680 </command>
681 </menuContribution>
682 <menuContribution
683 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
684 <menu
685 label="New">
686 <dynamic
687 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
688 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
689 </dynamic>
690 </menu>
691 <command
692 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
693 label="Open Related Concept"
694 style="push">
695 </command>
696 <separator
697 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
698 visible="true">
699 </separator>
700 <command
701 commandId="org.eclipse.ui.edit.delete"
702 label="Delete"
703 style="push">
704 </command>
705 </menuContribution>
706 <menuContribution
707 allPopups="false"
708 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
709 <command
710 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
711 label="Edit Authorities"
712 style="push">
713 <visibleWhen>
714 <reference
715 definitionId="isGroup">
716 </reference>
717 </visibleWhen>
718 </command>
719 </menuContribution>
720 </extension>
721 <extension
722 point="org.eclipse.ui.handlers">
723 <handler
724 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
725 commandId="org.eclipse.ui.window.newEditor">
726 <activeWhen>
727 <not>
728 <instanceof
729 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
730 </instanceof>
731 </not>
732 </activeWhen>
733 <enabledWhen>
734 <count
735 value="-1">
736 </count>
737 </enabledWhen>
738 </handler>
739 <handler
740 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
741 commandId="org.eclipse.ui.edit.delete">
742 <activeWhen>
743 <and>
744 <reference
745 definitionId="isTaxonBase">
746 </reference>
747 <not>
748 <reference
749 definitionId="isAcceptedTaxon">
750 </reference>
751 </not>
752 </and>
753 </activeWhen>
754 </handler>
755 <handler
756 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
757 commandId="org.eclipse.ui.edit.delete">
758 <activeWhen>
759 <with
760 variable="activePartId">
761 <or>
762 <equals
763 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
764 </equals>
765 <equals
766 value="eu.etaxonomy.taxeditor.editor.view.media">
767 </equals>
768 </or>
769 </with>
770 </activeWhen>
771 </handler>
772 <handler
773 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
774 commandId="org.eclipse.ui.edit.delete">
775 <activeWhen>
776 <with
777 variable="activePartId">
778 <equals
779 value="eu.etaxonomy.taxeditor.editor.key">
780 </equals>
781 </with>
782 </activeWhen>
783 </handler>
784 <handler
785 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
786 commandId="org.eclipse.ui.edit.delete">
787 <activeWhen>
788 <with
789 variable="activePartId">
790 <equals
791 value="eu.etaxonomy.taxeditor.editor.view.concept">
792 </equals>
793 </with>
794 </activeWhen>
795 </handler>
796 <handler
797 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
798 commandId="org.eclipse.ui.edit.delete">
799 <activeWhen>
800 <with
801 variable="activePartId">
802 <equals
803 value="eu.etaxonomy.taxeditor.editor.view.uses">
804 </equals>
805 </with>
806 </activeWhen>
807 </handler>
808 </extension>
809 <extension
810 name="Name Commands"
811 point="org.eclipse.ui.commands">
812 <category
813 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
814 name="-- Name Editor">
815 </category>
816 <command
817 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
818 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
819 id="eu.etaxonomy.taxeditor.editor.command.openParent"
820 name="Open Parent">
821 </command>
822 <command
823 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
824 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
825 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
826 name="Create Homotypic Synonym">
827 </command>
828 <command
829 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
830 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
831 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
832 name="Create Heterotypic Synonym">
833 </command>
834 <command
835 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
836 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
837 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
838 name="Create Synonym In Homotypical Group">
839 </command>
840 <command
841 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
842 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
843 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
844 name="Create Misapplication">
845 </command>
846 <!--command
847 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
848 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
849 name="Move Taxon">
850 </command-->
851 <command
852 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
853 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
854 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
855 name="Change To Synonym">
856 </command>
857 <command
858 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
859 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
860 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
861 name="Change To Accepted Taxon">
862 </command>
863 <command
864 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
865 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
866 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
867 name="Change To Misapplication">
868 </command>
869 <command
870 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
871 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
872 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
873 name="Swap Synonym With Accepted">
874 </command>
875 <command
876 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
877 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
878 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
879 name="Set Basionym / Original Combination">
880 </command>
881 <command
882 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
883 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
884 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
885 name="Remove Basionym / Original Combination">
886 </command>
887 <command
888 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
889 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
890 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
891 name="Change Accepted Taxon to Synonym">
892 </command>
893 <command
894 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
895 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
896 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
897 name="Delete All Empty Names">
898 </command>
899 <category
900 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
901 name="-- Descriptive">
902 </category>
903 <command
904 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
905 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
906 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
907 name="Create Description Element">
908 </command>
909 <command
910 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
911 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
912 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
913 name="New Description">
914 </command>
915 <command
916 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
917 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
918 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
919 name="Move Description Elements">
920 </command>
921 <category
922 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
923 name="-- New Uses">
924 </category>
925 <command
926 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
927 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
928 id="eu.etaxonomy.taxeditor.use.commands.adduse"
929 name="New Use">
930 </command>
931 <command
932 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
933 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
934 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
935 name="New Use Summary">
936 </command>
937 <command
938 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
939 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
940 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
941 name="New Use Record">
942 </command>
943 <category
944 id="eu.etaxonomy.taxeditor.editor.media.category"
945 name="-- Media">
946 </category>
947 <command
948 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
949 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
950 id="taxeditor-editor.command.moveimgdown"
951 name="Move Image Down In List">
952 </command>
953 <command
954 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
955 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
956 id="taxeditor-editor.command.newimagegallery"
957 name="New Image Gallery">
958 </command>
959 <command
960 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
961 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
962 id="taxeditor-editor.newimage"
963 name="New Image">
964 </command>
965 <command
966 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
967 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
968 id="taxeditor-editor.command.moveimgup"
969 name="Move Image Up In List">
970 </command>
971 <category
972 id="eu.etaxonomy.taxeditor.editor.new.category"
973 name="-- New Entity">
974 </category>
975 <command
976 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
977 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
978 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
979 name="New Reference">
980 </command>
981 <command
982 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
983 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
984 id="eu.etaxonomy.taxeditor.editor.command.new.name"
985 name="New Name">
986 </command>
987 <command
988 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
989 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
990 id="eu.etaxonomy.taxeditor.editor.command.new.team"
991 name="New Team">
992 </command>
993 <command
994 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
995 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
996 id="eu.etaxonomy.taxeditor.editor.command.new.person"
997 name="New Person">
998 </command>
999 <command
1000 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1001 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1002 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1003 name="New Specimen">
1004 </command>
1005 <category
1006 id="eu.etaxonomy.taxeditor.editor.key.category"
1007 name="-- Polytomous Keys">
1008 </category>
1009 <command
1010 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1011 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1012 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1013 name="New Child Node">
1014 </command>
1015 <command
1016 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1017 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1018 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1019 name="New Sibling Node">
1020 </command>
1021 <command
1022 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1023 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1024 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1025 name="Refresh Node Numbering">
1026 </command>
1027 <command
1028 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1029 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1030 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1031 name="Apply Layout">
1032 </command>
1033 <category
1034 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1035 name="-- Concept Relations">
1036 </category>
1037 <command
1038 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1039 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1040 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1041 name="Create Concept Relation">
1042 </command>
1043 <command
1044 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1045 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1046 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1047 name="Open Related Concept">
1048 </command>
1049 <category
1050 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1051 name="-- Group">
1052 </category>
1053 <command
1054 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1055 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1056 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1057 name="Edit CDM Authorities">
1058 </command>
1059 </extension>
1060 <extension
1061 point="org.eclipse.core.expressions.definitions">
1062 <definition
1063 id="nameEditorActive">
1064 <with
1065 variable="activeEditorId">
1066 <equals
1067 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1068 </equals>
1069 </with>
1070 </definition>
1071 <definition
1072 id="isAcceptedTaxon">
1073 <with
1074 variable="selection">
1075 <test
1076 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1077 </test>
1078 </with>
1079 </definition>
1080 <definition
1081 id="isSynonym">
1082 <with
1083 variable="selection">
1084 <test
1085 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1086 </test>
1087 </with>
1088 </definition>
1089 <definition
1090 id="isMisapplication">
1091 <with
1092 variable="selection">
1093 <test
1094 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1095 </test>
1096 </with>
1097 </definition>
1098 <definition
1099 id="isTaxonBase">
1100 <with
1101 variable="selection">
1102 <test
1103 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1104 </test>
1105 </with>
1106 </definition>
1107 <definition
1108 id="hasEmptyNames">
1109 <with
1110 variable="selection">
1111 <test
1112 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1113 </test>
1114 </with>
1115 </definition>
1116 <definition
1117 id="isDeletable">
1118 <with
1119 variable="selection">
1120 <test
1121 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1122 </test>
1123 </with>
1124 </definition>
1125 <definition
1126 id="isMedia">
1127 <with
1128 variable="selection">
1129 <test
1130 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1131 </test>
1132 </with>
1133 </definition>
1134 <definition
1135 id="isDescription">
1136 <with
1137 variable="selection">
1138 <test
1139 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1140 </test>
1141 </with>
1142 </definition>
1143 <definition
1144 id="isDescriptionElement">
1145 <with
1146 variable="selection">
1147 <test
1148 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1149 </test>
1150 </with>
1151 </definition>
1152 <definition
1153 id="isFeatureNodeContainer">
1154 <with
1155 variable="selection">
1156 <test
1157 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1158 </test>
1159 </with>
1160 </definition>
1161 <definition
1162 id="isImageGallery">
1163 <with
1164 variable="selection">
1165 <test
1166 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1167 </test>
1168 </with>
1169 </definition>
1170 <definition
1171 id="isAcceptedAndHasNoHomotypicSynonyms">
1172 <with
1173 variable="selection">
1174 <test
1175 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1176 </test>
1177 </with>
1178 </definition>
1179 <definition
1180 id="isGroup">
1181 <with
1182 variable="activeEditor">
1183 <test
1184 property="taxeditor-bulkeditor.propertyTester.isGroup">
1185 </test>
1186 </with>
1187 </definition>
1188 </extension>
1189 <extension
1190 point="org.eclipse.core.expressions.propertyTesters">
1191 <propertyTester
1192 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1193 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1194 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1195 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1196 type="org.eclipse.jface.viewers.IStructuredSelection">
1197 </propertyTester>
1198 <propertyTester
1199 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1200 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1201 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1202 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery"
1203 type="org.eclipse.jface.viewers.TreeSelection">
1204 </propertyTester>
1205 <propertyTester
1206 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1207 id="taxeditor-bulkeditor.PropertyTester"
1208 namespace="taxeditor-bulkeditor.propertyTester"
1209 properties="isGroup"
1210 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1211 </propertyTester>
1212 </extension>
1213 <extension
1214 point="org.eclipse.ui.bindings">
1215 <scheme
1216 description="The default key binding scheme for the Taxonomic Editor"
1217 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1218 name="Taxonomic Editor Default Key Bindings">
1219 </scheme>
1220 </extension>
1221 </plugin>