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