merged trunk into branch
[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="isMisapplication">
340 </reference>
341 <reference
342 definitionId="isConceptRelation">
343 </reference>
344 </or>
345 </visibleWhen>
346 </command>
347 <command
348 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
349 label="Delete All Empty Names"
350 style="push">
351 <visibleWhen>
352 <reference
353 definitionId="hasEmptyNames">
354 </reference>
355 </visibleWhen>
356 </command>
357 <separator
358 name="taxeditor-editor.separator2"
359 visible="true">
360 </separator>
361 <dynamic
362 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
363 id="taxeditor-editor.dynamic.setBasionym">
364 <visibleWhen>
365 <or>
366 <reference
367 definitionId="isAcceptedTaxon">
368 </reference>
369 <reference
370 definitionId="isSynonym">
371 </reference>
372 </or>
373 </visibleWhen>
374 </dynamic>
375 <command
376 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
377 label="Swap Synonym With Accepted"
378 style="push">
379 <visibleWhen>
380 <reference
381 definitionId="isSynonym">
382 </reference>
383 </visibleWhen>
384 </command>
385 <separator
386 name="taxeditor-editor.separator3"
387 visible="true">
388 </separator>
389 <command
390 commandId="org.eclipse.ui.views.showView"
391 label="Show Details"
392 style="push">
393 <parameter
394 name="org.eclipse.ui.views.showView.viewId"
395 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
396 </parameter>
397 </command>
398 <separator
399 name="taxeditor-editor.separator4"
400 visible="true">
401 </separator>
402 <command
403 commandId="org.eclipse.ui.file.save"
404 label="Save"
405 style="push">
406 </command>
407 </menuContribution>
408 <menuContribution
409 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
410 <command
411 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
412 label="New Node"
413 style="push">
414 </command>
415 <separator
416 name="taxeditor-editor.separator1"
417 visible="true">
418 </separator>
419 <command
420 commandId="org.eclipse.ui.edit.delete"
421 label="Delete"
422 style="push">
423 </command>
424 <separator
425 name="taxeditor-editor.separator2"
426 visible="true">
427 </separator>
428 <command
429 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
430 label="Apply Layout"
431 style="push">
432 </command>
433 <separator
434 name="taxeditor-editor.separator3"
435 visible="true">
436 </separator>
437 </menuContribution>
438 <menuContribution
439 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
440 <command
441 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
442 label="New Sibling"
443 style="push">
444 </command>
445 <command
446 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
447 label="New Child"
448 style="push">
449 </command>
450 <command
451 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
452 label="Refresh Nodes"
453 style="push">
454 </command>
455 <command
456 commandId="org.eclipse.ui.edit.delete"
457 label="Delete"
458 style="push">
459 </command>
460 </menuContribution>
461 <menuContribution
462 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
463 <command
464 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
465 label="New Descriptive Data"
466 style="push">
467 </command>
468 <separator
469 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
470 visible="true">
471 </separator>
472 <menu
473 label="New">
474 <dynamic
475 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
476 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
477 </dynamic>
478 <visibleWhen
479 checkEnabled="true">
480 <or>
481 <reference
482 definitionId="isDescription">
483 </reference>
484 <reference
485 definitionId="isDescriptionElement">
486 </reference>
487 <reference
488 definitionId="isFeatureNodeContainer">
489 </reference>
490 </or>
491 </visibleWhen>
492 </menu>
493 <separator
494 name="taxeditor-editor.separator1"
495 visible="true">
496 </separator>
497 <command
498 commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
499 label="Move Elements"
500 style="push">
501 <visibleWhen
502 checkEnabled="true">
503 <reference
504 definitionId="isDescriptionElement">
505 </reference>
506 </visibleWhen>
507 </command>
508 <separator
509 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
510 visible="true">
511 </separator>
512 <command
513 commandId="org.eclipse.ui.edit.delete"
514 label="Delete"
515 style="push">
516 </command>
517 <separator
518 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
519 visible="true">
520 </separator>
521 <command
522 commandId="org.eclipse.ui.file.save"
523 label="Save"
524 style="push">
525 </command>
526 </menuContribution>
527
528
529
530
531 <menuContribution
532 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
533 <command
534 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
535 label="New Use"
536 style="push">
537 </command>
538 <command
539 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
540 label="New Use Summary"
541 style="push">
542 <visibleWhen
543 checkEnabled="true">
544 <or>
545 <reference
546 definitionId="isDescription">
547 </reference>
548 <reference
549 definitionId="isDescriptionElement">
550 </reference>
551 <reference
552 definitionId="isFeatureNodeContainer">
553 </reference>
554 </or>
555 </visibleWhen>
556 </command>
557 <command
558 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
559 label="New Use Record"
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 <separator
577 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
578 visible="true">
579 </separator>
580 <separator
581 name="taxeditor-editor.separator1"
582 visible="true">
583 </separator>
584 <separator
585 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
586 visible="true">
587 </separator>
588 <command
589 commandId="org.eclipse.ui.edit.delete"
590 label="Delete"
591 style="push">
592 </command>
593 <separator
594 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
595 visible="true">
596 </separator>
597 <command
598 commandId="org.eclipse.ui.file.save"
599 label="Save"
600 style="push">
601 </command>
602 </menuContribution>
603
604
605
606
607
608 <menuContribution
609 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
610 <command
611 commandId="taxeditor-editor.command.newimagegallery"
612 label="New Image Gallery"
613 style="push">
614 </command>
615 <separator
616 name="taxeditor-editor.separator1"
617 visible="true">
618 </separator>
619 <command
620 commandId="taxeditor-editor.newimage"
621 label="New Image"
622 style="push">
623 <visibleWhen>
624 <reference
625 definitionId="isImageGallery">
626 </reference>
627 </visibleWhen>
628 </command>
629 <command
630 commandId="taxeditor-editor.command.moveimgdown"
631 label="Move Image Up In List"
632 style="push">
633 <visibleWhen>
634 <reference
635 definitionId="isMedia">
636 </reference>
637 </visibleWhen>
638 </command>
639 <command
640 commandId="taxeditor-editor.command.moveimgup"
641 label="Move Image Down In List"
642 style="push">
643 <visibleWhen>
644 <reference
645 definitionId="isMedia">
646 </reference>
647 </visibleWhen>
648 </command>
649 <separator
650 name="taxeditor-editor.separator2"
651 visible="true">
652 </separator>
653 <command
654 commandId="org.eclipse.ui.edit.delete"
655 label="Delete"
656 style="push">
657 </command>
658 <command
659 commandId="org.eclipse.ui.file.save"
660 label="Save"
661 style="push">
662 </command>
663 </menuContribution>
664 <menuContribution
665 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
666 <menu
667 label="New">
668 <dynamic
669 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
670 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
671 </dynamic>
672 </menu>
673 <command
674 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
675 label="Open Related Concept"
676 style="push">
677 </command>
678 <separator
679 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
680 visible="true">
681 </separator>
682 <command
683 commandId="org.eclipse.ui.edit.delete"
684 label="Delete"
685 style="push">
686 </command>
687 </menuContribution>
688 <menuContribution
689 allPopups="false"
690 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
691 <command
692 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
693 label="Edit Authorities"
694 style="push">
695 <visibleWhen>
696 <reference
697 definitionId="isGroup">
698 </reference>
699 </visibleWhen>
700 </command>
701 </menuContribution>
702 </extension>
703 <extension
704 point="org.eclipse.ui.handlers">
705 <handler
706 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
707 commandId="org.eclipse.ui.window.newEditor">
708 <activeWhen>
709 <not>
710 <instanceof
711 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
712 </instanceof>
713 </not>
714 </activeWhen>
715 <enabledWhen>
716 <count
717 value="-1">
718 </count>
719 </enabledWhen>
720 </handler>
721 <handler
722 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
723 commandId="org.eclipse.ui.edit.delete">
724 <activeWhen>
725 <and>
726 <reference
727 definitionId="isTaxonBase">
728 </reference>
729 <not>
730 <reference
731 definitionId="isAcceptedTaxon">
732 </reference>
733 </not>
734 </and>
735 </activeWhen>
736 </handler>
737 <handler
738 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
739 commandId="org.eclipse.ui.edit.delete">
740 <activeWhen>
741 <with
742 variable="activePartId">
743 <or>
744 <equals
745 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
746 </equals>
747 <equals
748 value="eu.etaxonomy.taxeditor.editor.view.media">
749 </equals>
750 </or>
751 </with>
752 </activeWhen>
753 </handler>
754 <handler
755 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
756 commandId="org.eclipse.ui.edit.delete">
757 <activeWhen>
758 <with
759 variable="activePartId">
760 <equals
761 value="eu.etaxonomy.taxeditor.editor.key">
762 </equals>
763 </with>
764 </activeWhen>
765 </handler>
766 <handler
767 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
768 commandId="org.eclipse.ui.edit.delete">
769 <activeWhen>
770 <with
771 variable="activePartId">
772 <equals
773 value="eu.etaxonomy.taxeditor.editor.view.concept">
774 </equals>
775 </with>
776 </activeWhen>
777 </handler>
778 <handler
779 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
780 commandId="org.eclipse.ui.edit.delete">
781 <activeWhen>
782 <with
783 variable="activePartId">
784 <equals
785 value="eu.etaxonomy.taxeditor.editor.view.uses">
786 </equals>
787 </with>
788 </activeWhen>
789 </handler>
790 </extension>
791 <extension
792 name="Name Commands"
793 point="org.eclipse.ui.commands">
794 <category
795 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
796 name="-- Name Editor">
797 </category>
798 <command
799 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
800 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
801 id="eu.etaxonomy.taxeditor.editor.command.openParent"
802 name="Open Parent">
803 </command>
804 <command
805 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
806 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
807 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
808 name="Create Homotypic Synonym">
809 </command>
810 <command
811 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
812 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
813 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
814 name="Create Heterotypic Synonym">
815 </command>
816 <command
817 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
818 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
819 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
820 name="Create Synonym In Homotypical Group">
821 </command>
822 <command
823 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
824 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
825 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
826 name="Create Misapplication">
827 </command>
828 <!--command
829 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
830 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
831 name="Move Taxon">
832 </command-->
833 <command
834 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
835 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
836 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
837 name="Change To Synonym">
838 </command>
839 <command
840 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
841 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
842 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
843 name="Change To Accepted Taxon">
844 </command>
845 <command
846 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
847 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
848 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
849 name="Change To Misapplication">
850 </command>
851 <command
852 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
853 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
854 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
855 name="Swap Synonym With Accepted">
856 </command>
857 <command
858 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
859 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
860 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
861 name="Set Basionym / Original Combination">
862 </command>
863 <command
864 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
865 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
866 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
867 name="Remove Basionym / Original Combination">
868 </command>
869 <command
870 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
871 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
872 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
873 name="Change Accepted Taxon to Synonym">
874 </command>
875 <command
876 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
877 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
878 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
879 name="Delete All Empty Names">
880 </command>
881 <category
882 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
883 name="-- Descriptive">
884 </category>
885 <command
886 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
887 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
888 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
889 name="Create Description Element">
890 </command>
891 <command
892 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
893 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
894 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
895 name="New Description">
896 </command>
897 <command
898 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
899 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
900 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
901 name="Move Description Elements">
902 </command>
903 <category
904 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
905 name="-- New Uses">
906 </category>
907 <command
908 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
909 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
910 id="eu.etaxonomy.taxeditor.use.commands.adduse"
911 name="New Use">
912 </command>
913 <command
914 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
915 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
916 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
917 name="New Use Summary">
918 </command>
919 <command
920 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
921 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
922 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
923 name="New Use Record">
924 </command>
925 <category
926 id="eu.etaxonomy.taxeditor.editor.media.category"
927 name="-- Media">
928 </category>
929 <command
930 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
931 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
932 id="taxeditor-editor.command.moveimgdown"
933 name="Move Image Down In List">
934 </command>
935 <command
936 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
937 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
938 id="taxeditor-editor.command.newimagegallery"
939 name="New Image Gallery">
940 </command>
941 <command
942 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
943 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
944 id="taxeditor-editor.newimage"
945 name="New Image">
946 </command>
947 <command
948 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
949 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
950 id="taxeditor-editor.command.moveimgup"
951 name="Move Image Up In List">
952 </command>
953 <category
954 id="eu.etaxonomy.taxeditor.editor.new.category"
955 name="-- New Entity">
956 </category>
957 <command
958 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
959 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
960 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
961 name="New Reference">
962 </command>
963 <command
964 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
965 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
966 id="eu.etaxonomy.taxeditor.editor.command.new.name"
967 name="New Name">
968 </command>
969 <command
970 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
971 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
972 id="eu.etaxonomy.taxeditor.editor.command.new.team"
973 name="New Team">
974 </command>
975 <command
976 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
977 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
978 id="eu.etaxonomy.taxeditor.editor.command.new.person"
979 name="New Person">
980 </command>
981 <command
982 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
983 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
984 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
985 name="New Specimen">
986 </command>
987 <category
988 id="eu.etaxonomy.taxeditor.editor.key.category"
989 name="-- Polytomous Keys">
990 </category>
991 <command
992 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
993 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
994 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
995 name="New Child Node">
996 </command>
997 <command
998 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
999 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1000 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1001 name="New Sibling Node">
1002 </command>
1003 <command
1004 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1005 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1006 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1007 name="Refresh Node Numbering">
1008 </command>
1009 <command
1010 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1011 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1012 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1013 name="Apply Layout">
1014 </command>
1015 <category
1016 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1017 name="-- Concept Relations">
1018 </category>
1019 <command
1020 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1021 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1022 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1023 name="Create Concept Relation">
1024 </command>
1025 <command
1026 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1027 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1028 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1029 name="Open Related Concept">
1030 </command>
1031 <category
1032 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1033 name="-- Group">
1034 </category>
1035 <command
1036 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1037 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1038 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1039 name="Edit CDM Authorities">
1040 </command>
1041 </extension>
1042 <extension
1043 point="org.eclipse.core.expressions.definitions">
1044 <definition
1045 id="nameEditorActive">
1046 <with
1047 variable="activeEditorId">
1048 <equals
1049 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1050 </equals>
1051 </with>
1052 </definition>
1053 <definition
1054 id="isAcceptedTaxon">
1055 <with
1056 variable="selection">
1057 <test
1058 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1059 </test>
1060 </with>
1061 </definition>
1062 <definition
1063 id="isSynonym">
1064 <with
1065 variable="selection">
1066 <test
1067 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1068 </test>
1069 </with>
1070 </definition>
1071 <definition
1072 id="isMisapplication">
1073 <with
1074 variable="selection">
1075 <test
1076 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1077 </test>
1078 </with>
1079 </definition>
1080 <definition
1081 id="isTaxonBase">
1082 <with
1083 variable="selection">
1084 <test
1085 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1086 </test>
1087 </with>
1088 </definition>
1089 <definition
1090 id="hasEmptyNames">
1091 <with
1092 variable="selection">
1093 <test
1094 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1095 </test>
1096 </with>
1097 </definition>
1098 <definition
1099 id="isDeletable">
1100 <with
1101 variable="selection">
1102 <test
1103 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1104 </test>
1105 </with>
1106 </definition>
1107 <definition
1108 id="isMedia">
1109 <with
1110 variable="selection">
1111 <test
1112 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1113 </test>
1114 </with>
1115 </definition>
1116 <definition
1117 id="isDescription">
1118 <with
1119 variable="selection">
1120 <test
1121 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1122 </test>
1123 </with>
1124 </definition>
1125 <definition
1126 id="isDescriptionElement">
1127 <with
1128 variable="selection">
1129 <test
1130 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1131 </test>
1132 </with>
1133 </definition>
1134 <definition
1135 id="isFeatureNodeContainer">
1136 <with
1137 variable="selection">
1138 <test
1139 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1140 </test>
1141 </with>
1142 </definition>
1143 <definition
1144 id="isImageGallery">
1145 <with
1146 variable="selection">
1147 <test
1148 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1149 </test>
1150 </with>
1151 </definition>
1152 <definition
1153 id="isAcceptedAndHasNoHomotypicSynonyms">
1154 <with
1155 variable="selection">
1156 <test
1157 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1158 </test>
1159 </with>
1160 </definition>
1161 <definition
1162 id="isGroup">
1163 <with
1164 variable="activeEditor">
1165 <test
1166 property="taxeditor-bulkeditor.propertyTester.isGroup">
1167 </test>
1168 </with>
1169 </definition>
1170 </extension>
1171 <extension
1172 point="org.eclipse.core.expressions.propertyTesters">
1173 <propertyTester
1174 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1175 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1176 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1177 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1178 type="org.eclipse.jface.viewers.IStructuredSelection">
1179 </propertyTester>
1180 <propertyTester
1181 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1182 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1183 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1184 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery"
1185 type="org.eclipse.jface.viewers.TreeSelection">
1186 </propertyTester>
1187 <propertyTester
1188 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1189 id="taxeditor-bulkeditor.PropertyTester"
1190 namespace="taxeditor-bulkeditor.propertyTester"
1191 properties="isGroup"
1192 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1193 </propertyTester>
1194 </extension>
1195 <extension
1196 point="org.eclipse.ui.bindings">
1197 <scheme
1198 description="The default key binding scheme for the Taxonomic Editor"
1199 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1200 name="Taxonomic Editor Default Key Bindings">
1201 </scheme>
1202 </extension>
1203 </plugin>