fixes #805 and started to work on #835
[taxeditor.git] / 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.ui.perspectives">
15 <perspective
16 class="eu.etaxonomy.taxeditor.editor.Perspective"
17 id="eu.etaxonomy.taxeditor.editor.perspective"
18 name="Perspective">
19 </perspective>
20 </extension-->
21 <extension
22 point="org.eclipse.ui.editors">
23 <editor
24 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
25 icon="icons/edit_16x16.gif"
26 id="eu.etaxonomy.taxeditor.editor.multipagetaxonview"
27 name="Multitabbed Taxon Editor">
28 </editor>
29 <editor
30 class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
31 default="false"
32 id="eu.etaxonomy.taxeditor.taxonNameEditor"
33 name="Taxon Name Editor">
34 </editor>
35 <editor
36 class="eu.etaxonomy.taxeditor.editor.description.TaxonDescriptionEditor"
37 default="false"
38 id="eu.etaxonomy.taxeditor.taxonDescriptionEditor"
39 name="Taxon Description Editor">
40 </editor>
41 <editor
42 class="eu.etaxonomy.taxeditor.editor.images.TaxonImageEditor"
43 default="false"
44 id="eu.etaxonomy.taxeditor.taxonImageEditor"
45 name="Taxon Image Editor">
46 </editor>
47 </extension>
48 <extension
49 point="org.eclipse.ui.menus">
50 <menuContribution
51 locationURI="toolbar:org.eclipse.ui.main.toolbar">
52 <toolbar
53 id="eu.etaxonomy.taxeditor.editor.main">
54 <command
55 commandId="org.eclipse.ui.newWizard"
56 label="New"
57 style="push">
58 </command>
59 <command
60 commandId="org.eclipse.ui.file.save"
61 label="Save"
62 style="push">
63 </command>
64 </toolbar>
65 </menuContribution>
66 <!--menuContribution
67 locationURI="menu:org.eclipse.ui.main.menu">
68 <menu
69 id="eu.etaxonomy.taxeditor.ui.taxonMenu"
70 label="Taxon">
71 <visibleWhen
72 checkEnabled="true">
73 <reference
74 definitionId="nameEditorActive">
75 </reference>
76 </visibleWhen>
77 <command
78 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
79 label="Create Heterotypic Synonym"
80 style="push">
81 </command>
82 <command
83 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
84 label="Create Homotypic Synonym"
85 style="push">
86 </command>
87 <separator
88 name="separator1"
89 visible="true">
90 </separator>
91 <menu
92 label="Create Concept Relation">
93 <visibleWhen>
94 <and>
95 <not>
96 <reference
97 definitionId="isSynonym">
98 </reference>
99 </not>
100 <not>
101 <reference
102 definitionId="isMisapplication">
103 </reference>
104 </not>
105 </and>
106 </visibleWhen>
107 <dynamic
108 class="eu.etaxonomy.taxeditor.editor.handler.CreateConceptRelationMenu"
109 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
110 </dynamic>
111 </menu>
112 <menu
113 label="Create Concept Relation">
114 <dynamic
115 class="eu.etaxonomy.taxeditor.editor.handler.AbstractDynamicConceptRelationMenu"
116 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
117 </dynamic>
118 </menu>
119 <command
120 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
121 label="Create Misapplication"
122 style="push">
123 </command>
124 <separator
125 name="taxeditor-editor.separator2"
126 visible="true">
127 </separator>
128 <command
129 commandId="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
130 label="Create Description Element"
131 style="push">
132 </command>
133 </menu>
134 </menuContribution-->
135 <menuContribution
136 locationURI="popup:eu.etaxonomy.taxeditor.taxonNameEditor">
137 <menu
138 label="New">
139 <command
140 commandId="eu.etaxonomy.taxeditor.editor.name.createChildTaxon"
141 label="Child Taxon"
142 style="push">
143 <visibleWhen>
144 <reference
145 definitionId="isAcceptedTaxon">
146 </reference>
147 </visibleWhen>
148 </command>
149 <command
150 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
151 label="Heterotypic Synonym"
152 style="push">
153 <visibleWhen>
154 <reference
155 definitionId="isAcceptedTaxon">
156 </reference>
157 </visibleWhen>
158 </command>
159 <command
160 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
161 label="Homotypic Synonym"
162 style="push">
163 <visibleWhen>
164 <reference
165 definitionId="isAcceptedTaxon">
166 </reference>
167 </visibleWhen>
168 </command>
169 <command
170 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
171 label="Synonym In Homotypical Group"
172 style="push">
173 <visibleWhen>
174 <reference
175 definitionId="isSynonym">
176 </reference>
177 </visibleWhen>
178 </command>
179 <separator
180 name="separator1"
181 visible="true">
182 </separator>
183 <menu
184 label="Concept Relation">
185 <visibleWhen>
186 <and>
187 <not>
188 <reference
189 definitionId="isSynonym">
190 </reference>
191 </not>
192 <not>
193 <reference
194 definitionId="isMisapplication">
195 </reference></not>
196 </and>
197 </visibleWhen>
198 <dynamic
199 class="eu.etaxonomy.taxeditor.editor.name.handler.CreateConceptRelationMenu"
200 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
201 </dynamic>
202 </menu>
203 <command
204 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
205 label="Misapplication"
206 style="push">
207 <visibleWhen>
208 <and>
209 <not>
210 <reference
211 definitionId="isSynonym">
212 </reference>
213 </not>
214 <not>
215 <reference
216 definitionId="isConceptRelation">
217 </reference>
218 </not>
219 </and>
220 </visibleWhen>
221 </command>
222 </menu>
223 <command
224 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
225 label="Change Accepted Taxon to Synonym"
226 style="push">
227 <visibleWhen>
228 <reference
229 definitionId="isAcceptedTaxon">
230 </reference>
231 </visibleWhen>
232 </command>
233 <menu
234 label="Change To">
235 <command
236 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
237 label="Accepted Taxon"
238 style="push">
239 <visibleWhen>
240 <not>
241 <or>
242 <reference
243 definitionId="isAcceptedTaxon">
244 </reference>
245 <reference
246 definitionId="isConceptRelation">
247 </reference>
248 <reference
249 definitionId="isMisapplication">
250 </reference>
251 </or>
252 </not>
253 </visibleWhen>
254 </command>
255 <command
256 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
257 label="Synonym"
258 style="push">
259 <visibleWhen>
260 <not>
261 <or>
262 <reference
263 definitionId="isAcceptedTaxon">
264 </reference>
265 <reference
266 definitionId="isSynonym">
267 </reference>
268 </or>
269 </not>
270 </visibleWhen>
271 </command>
272 <menu
273 label="Concept Relation">
274 <visibleWhen>
275 <not>
276 <or>
277 <reference
278 definitionId="isAcceptedTaxon">
279 </reference>
280 <reference
281 definitionId="isConceptRelation">
282 </reference>
283 </or>
284 </not>
285 </visibleWhen>
286 <dynamic
287 class="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToConceptRelationMenu"
288 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
289 </dynamic>
290 </menu>
291 <command
292 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
293 label="Misapplication"
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 </menu>
309 <menu
310 label="Change Relation Type">
311 <visibleWhen>
312 <reference
313 definitionId="isConceptRelation">
314 </reference>
315 </visibleWhen>
316 <dynamic
317 class="eu.etaxonomy.taxeditor.editor.name.handler.ChangeConceptRelationshipTypeMenu"
318 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
319 </dynamic>
320 </menu>
321 <separator
322 name="taxeditor-editor.separator1"
323 visible="true">
324 </separator>
325 <command
326 commandId="eu.etaxonomy.taxeditor.editor.name.deleteTaxonBase"
327 label="Delete"
328 style="push">
329 <visibleWhen>
330 <not>
331 <reference
332 definitionId="isAcceptedTaxon">
333 </reference>
334 </not>
335 </visibleWhen>
336 </command>
337 <separator
338 name="taxeditor-editor.separator2"
339 visible="true">
340 </separator>
341 <!--command
342 commandId="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
343 label="Move Taxon"
344 style="push">
345 <visibleWhen>
346 <reference
347 definitionId="isAcceptedTaxon">
348 </reference>
349 </visibleWhen>
350 </command-->
351 <command
352 commandId="eu.etaxonomy.taxeditor.editor.name.setBasionym"
353 id="Set Basionym"
354 style="push">
355 <visibleWhen>
356 <and>
357 <reference
358 definitionId="isSynonym">
359 </reference>
360 <not>
361 <reference
362 definitionId="isZoological">
363 </reference>
364 </not>
365 </and>
366 </visibleWhen>
367 </command>
368 <command
369 commandId="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
370 id="Remove Basionym"
371 style="push">
372 <visibleWhen>
373 <and>
374 <reference
375 definitionId="isSynonym">
376 </reference>
377 <not>
378 <reference
379 definitionId="isZoological">
380 </reference>
381 </not>
382 </and>
383 </visibleWhen>
384 </command>
385 <command
386 commandId="eu.etaxonomy.taxeditor.editor.name.setOriginalCombination"
387 id="Set Original Combination"
388 style="push">
389 <visibleWhen>
390 <and>
391 <reference
392 definitionId="isSynonym">
393 </reference>
394 <reference
395 definitionId="isZoological">
396 </reference>
397 </and>
398 <!--and>
399 <reference
400 definitionId="isSynonym">
401 </reference-->
402 <!--/and-->
403 </visibleWhen>
404 </command>
405 <command
406 commandId="eu.etaxonomy.taxeditor.editor.name.removeOriginalCombination"
407 id="Remove Original Combination"
408 style="push">
409 <visibleWhen>
410 <and>
411 <reference
412 definitionId="isSynonym">
413 </reference>
414 <reference
415 definitionId="isZoological">
416 </reference>
417 </and>
418 </visibleWhen>
419 </command>
420 <command
421 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
422 label="Swap Synonym With Accepted"
423 style="push">
424 <visibleWhen>
425 <reference
426 definitionId="isSynonym">
427 </reference>
428 </visibleWhen>
429 </command>
430 <separator
431 name="taxeditor-editor.separator3"
432 visible="true">
433 </separator>
434 <command
435 commandId="org.eclipse.ui.file.save"
436 label="Save"
437 style="push">
438 </command>
439 </menuContribution>
440 <menuContribution
441 locationURI="popup:eu.etaxonomy.taxeditor.taxonDescriptionEditor">
442 <menu
443 label="New">
444 <dynamic
445 class="eu.etaxonomy.taxeditor.editor.description.DynamicFeatureMenu"
446 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
447 </dynamic>
448 </menu>
449 <separator
450 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
451 visible="true">
452 </separator>
453 <command
454 commandId="eu.etaxonomy.taxeditor.editor.name.deleteDescriptionElement"
455 label="Delete"
456 style="push">
457 </command>
458 <separator
459 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
460 visible="true">
461 </separator>
462 <command
463 commandId="org.eclipse.ui.file.save"
464 label="Save"
465 style="push">
466 </command>
467 </menuContribution>
468 <menuContribution
469 locationURI="popup:eu.etaxonomy.taxeditor.taxonImageEditor">
470 <command
471 commandId="eu.etaxonomy.taxeditor.editor.description.createImage"
472 label="New"
473 style="push">
474 </command>
475 <separator
476 name="eu.etaxonomy.taxeditor.taxonImageEditor.separator.afterNew"
477 visible="true">
478 </separator>
479 <command
480 commandId="eu.etaxonomy.taxeditor.editor.description.deleteImage"
481 label="Delete"
482 style="push">
483 </command>
484 <separator
485 name="eu.etaxonomy.taxeditor.taxonImageEditor.separator.afterDelete"
486 visible="true">
487 </separator>
488 <command
489 commandId="org.eclipse.ui.file.save"
490 label="Save"
491 style="push">
492 </command>
493 </menuContribution>
494 <menuContribution
495 locationURI="menu:org.eclipse.ui.main.menu.file?before=eu.etaxonomy.taxeditor.application.filemenu.separator">
496 <command
497 commandId="org.eclipse.ui.newWizard"
498 label="New"
499 style="push">
500 </command>
501 <separator
502 name="eu.etaxonomy.taxeditor.ui.file.separator1"
503 visible="true">
504 </separator>
505 <command
506 commandId="org.eclipse.ui.file.close"
507 label="Close"
508 style="push">
509 </command>
510 <command
511 commandId="org.eclipse.ui.file.closeAll"
512 label="Close All"
513 style="push">
514 </command>
515 <separator
516 name="eu.etaxonomy.taxeditor.ui.file.separator2"
517 visible="true">
518 </separator>
519 <command
520 commandId="org.eclipse.ui.file.save"
521 label="Save"
522 style="push">
523 </command>
524 <command
525 commandId="org.eclipse.ui.file.saveAll"
526 label="Save All"
527 style="push">
528 </command>
529 </menuContribution>
530 <menuContribution
531 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView">
532 <command
533 commandId="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
534 label="Property Sheet"
535 style="push">
536 </command>
537 <command
538 commandId="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
539 label="Tabbed Properties"
540 style="push">
541 </command>
542 </menuContribution>
543 <menuContribution
544 locationURI="menu:org.eclipse.ui.main.menu.navigate">
545 <menu
546 id="menu:org.eclipse.ui.main.menu.navigate.goto"
547 label="Go To">
548 <command
549 commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
550 label="Previous Member"
551 style="push">
552 </command>
553 <command
554 commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
555 label="Next Member"
556 style="push">
557 </command>
558 </menu>
559 <separator
560 name="taxeditor-editor.separator1"
561 visible="true">
562 </separator>
563 <command
564 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
565 label="Open Parent"
566 style="push">
567 </command>
568 </menuContribution>
569 </extension>
570 <extension
571 point="org.eclipse.ui.handlers">
572 <handler
573 class="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
574 commandId="org.eclipse.ui.file.save">
575 </handler>
576 <handler
577 class="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
578 commandId="org.eclipse.ui.file.saveAll">
579 </handler>
580 <handler
581 class="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
582 commandId="eu.etaxonomy.taxeditor.editor.name.setBasionym">
583 <enabledWhen>
584 <not>
585 <reference
586 definitionId="isGroupBasionym">
587 </reference>
588 </not>
589 </enabledWhen>
590 </handler>
591 <handler
592 class="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
593 commandId="eu.etaxonomy.taxeditor.editor.name.removeBasionym">
594 <enabledWhen>
595 <reference
596 definitionId="isGroupBasionym">
597 </reference>
598 </enabledWhen>
599 </handler>
600 <handler
601 class="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
602 commandId="eu.etaxonomy.taxeditor.editor.name.setOriginalCombination">
603 <enabledWhen>
604 <not>
605 <reference
606 definitionId="isGroupBasionym">
607 </reference>
608 </not>
609 </enabledWhen>
610 </handler>
611 <handler
612 class="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
613 commandId="eu.etaxonomy.taxeditor.editor.name.removeOriginalCombination">
614 <enabledWhen>
615 <reference
616 definitionId="isGroupBasionym">
617 </reference>
618 </enabledWhen>
619 </handler>
620 </extension>
621 <extension
622 name="File Menu Commands"
623 point="org.eclipse.ui.commands">
624 <command
625 categoryId="org.eclipse.ui.category.file"
626 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.EditNewTaxonHandler"
627 id="eu.etaxonomy.taxeditor.editor.newTaxon"
628 name="New Taxon">
629 </command>
630 <command
631 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
632 id="eu.etaxonomy.taxeditor.editor.saveTaxon"
633 name="Save">
634 </command>
635 <command
636 categoryId="org.eclipse.ui.category.file"
637 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
638 id="eu.etaxonomy.taxeditor.editor.saveAll"
639 name="Save All">
640 </command>
641 </extension>
642 <extension
643 point="org.eclipse.core.expressions.definitions">
644 <definition
645 id="nameEditorActive">
646 <with
647 variable="activeEditorId">
648 <equals
649 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
650 </equals>
651 </with>
652 </definition>
653 <definition
654 id="isAcceptedTaxon">
655 <with
656 variable="activeMenuSelection">
657 <iterate>
658 <instanceof
659 value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
660 </instanceof>
661 </iterate>
662 </with>
663 </definition>
664 <definition
665 id="isSynonym">
666 <with
667 variable="activeMenuSelection">
668 <iterate>
669 <instanceof
670 value="eu.etaxonomy.taxeditor.propertysheet.name.SynonymPropertySource">
671 </instanceof>
672 </iterate>
673 </with>
674 </definition>
675 <definition
676 id="isGroupBasionym">
677 <with
678 variable="activeMenuSelection">
679 <iterate>
680 <instanceof
681 value="eu.etaxonomy.taxeditor.editor.name.BasionymSynonymPropertySource">
682 </instanceof>
683 </iterate>
684 </with>
685 </definition>
686 <definition
687 id="isMisapplication">
688 <with
689 variable="activeMenuSelection">
690 <iterate>
691 <instanceof
692 value="eu.etaxonomy.taxeditor.propertysheet.name.MisapplicationPropertySource">
693 </instanceof>
694 </iterate>
695 </with>
696 </definition>
697 <definition
698 id="isConceptRelation">
699 <with
700 variable="activeMenuSelection">
701 <iterate>
702 <instanceof
703 value="eu.etaxonomy.taxeditor.propertysheet.name.ConceptPropertySource">
704 </instanceof>
705 </iterate>
706 </with>
707 </definition>
708 <definition
709 id="isNotGroupBasionym">
710 <with
711 variable="activeMenuSelection">
712 <not>
713 <iterate>
714 <instanceof
715 value="eu.etaxonomy.taxeditor.editor.name.BasionymSynonymPropertySource">
716 </instanceof>
717 </iterate>
718 </not>
719 </with>
720 </definition>
721 <definition
722 id="isCdmObject">
723 <with
724 variable="activeMenuSelection">
725 <iterate>
726 <instanceof
727 value="eu.etaxonomy.taxeditor.propertysheet.ICdmBasePropertySource">
728 </instanceof>
729 </iterate>
730 </with>
731 </definition>
732 <definition
733 id="isZoological">
734 <with
735 variable="activeMenuSelection">
736 <iterate>
737 <test
738 forcePluginActivation="true"
739 property="eu.etaxonomy.taxeditor.label.propertytests.isZoological">
740 </test>
741 </iterate>
742 </with>
743 </definition>
744 </extension>
745 <extension
746 name="Name Commands"
747 point="org.eclipse.ui.commands">
748 <category
749 id="eu.etaxonomy.taxeditor.editor.synonymCategory"
750 name="Synonym Category">
751 </category>
752 <command
753 categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
754 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
755 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
756 name="Create Homotypic Synonym">
757 </command>
758 <command
759 categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
760 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
761 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
762 name="Create Heterotypic Synonym">
763 </command>
764 <command
765 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
766 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
767 name="Create Synonym In Homotypical Group">
768 </command>
769 <command
770 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateConceptRelationHandler"
771 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
772 name="Create Concept Relation">
773 </command>
774 <command
775 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
776 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
777 name="Create Misapplication">
778 </command>
779 <command
780 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
781 id="eu.etaxonomy.taxeditor.editor.name.deleteTaxonBase"
782 name="Delete Taxon Base">
783 </command>
784 <!--command
785 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
786 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
787 name="Move Taxon">
788 </command-->
789 <command
790 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.CreateChildTaxonHandler"
791 id="eu.etaxonomy.taxeditor.editor.name.createChildTaxon"
792 name="Create Child Taxon">
793 </command>
794 <command
795 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
796 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
797 name="Change To Synonym">
798 </command>
799 <command
800 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToAcceptedTaxon"
801 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
802 name="Change To Accepted Taxon">
803 </command>
804 <command
805 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToConceptRelationHandler"
806 id="eu.etaxonomy.taxeditor.editor.name.changeToConceptRelation"
807 name="Change To Concept Relation">
808 </command>
809 <command
810 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
811 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
812 name="Change To Misapplication">
813 </command>
814 <command
815 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeConceptRelationshipTypeHandler"
816 id="eu.etaxonomy.taxeditor.editor.name.changeConceptRelationshipType"
817 name="Change Concept Relationship Type">
818 </command>
819 <command
820 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
821 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
822 name="Swap Synonym With Accepted">
823 </command>
824 <command
825 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
826 name="%command.name.17">
827 </command>
828 <command
829 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
830 name="%command.name.18">
831 </command>
832 <command
833 id="eu.etaxonomy.taxeditor.editor.name.setOriginalCombination"
834 name="Set Original Combination">
835 </command>
836 <command
837 id="eu.etaxonomy.taxeditor.editor.name.removeOriginalCombination"
838 name="Remove Original Combination">
839 </command>
840 <command
841 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
842 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
843 name="Change Accepted Taxon to Synonym">
844 </command>
845 </extension>
846 <extension
847 name="Description Commands"
848 point="org.eclipse.ui.commands">
849 <command
850 defaultHandler="eu.etaxonomy.taxeditor.editor.description.handler.CreateDescriptionElementHandler"
851 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
852 name="Create Description Element">
853 </command>
854 <command
855 defaultHandler="eu.etaxonomy.taxeditor.editor.description.handler.DeleteDescriptionElementHandler"
856 id="eu.etaxonomy.taxeditor.editor.name.deleteDescriptionElement"
857 name="Delete Description Element">
858 </command>
859 </extension>
860 <extension
861 point="org.eclipse.ui.commands">
862 <command
863 defaultHandler="eu.etaxonomy.taxeditor.editor.images.handler.CreateImageHandler"
864 id="eu.etaxonomy.taxeditor.editor.description.createImage"
865 name="Create Image">
866 </command>
867 <command
868 defaultHandler="eu.etaxonomy.taxeditor.editor.images.handler.DeleteImageHandler"
869 id="eu.etaxonomy.taxeditor.editor.description.deleteImage"
870 name="Delete Image">
871 </command>
872 </extension>
873 <extension
874 point="org.eclipse.ui.commands">
875 <command
876 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowPropertySheetHandler"
877 id="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
878 name="Show Property Sheet">
879 </command>
880 </extension>
881 <extension
882 point="org.eclipse.ui.commands">
883 <command
884 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.PreviousMemberHandler"
885 id="eu.etaxonomy.taxeditor.editor.command.previousMember"
886 name="Previous Member">
887 </command>
888 <command
889 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.NextMemberHandler"
890 id="eu.etaxonomy.taxeditor.editor.command.nextMember"
891 name="Next Member">
892 </command>
893 <command
894 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
895 id="eu.etaxonomy.taxeditor.editor.command.openParent"
896 name="Open Parent">
897 </command>
898 </extension>
899 <extension
900 point="org.eclipse.ui.commands">
901 <command
902 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowTabbedPropertiesViewHandler"
903 id="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
904 name="Tabbed Properties">
905 </command>
906 </extension>
907 <extension
908 point="org.eclipse.ui.elementFactories">
909 <factory
910 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
911 id="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory">
912 </factory>
913 </extension>
914 <extension
915 point="org.eclipse.ui.perspectiveExtensions">
916 <perspectiveExtension
917 targetID="eu.etaxonomy.taxeditor.application.perspective">
918 <view
919 closeable="true"
920 id="org.eclipse.ui.views.PropertySheet"
921 minimized="false"
922 moveable="true"
923 ratio="0.7"
924 relationship="right"
925 relative="org.eclipse.ui.editorss"
926 showTitle="false"
927 visible="true">
928 </view>
929 </perspectiveExtension>
930 </extension>
931 <extension
932 point="org.eclipse.ui.bindings">
933 <key
934 commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
935 contextId="org.eclipse.ui.contexts.window"
936 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
937 sequence="M2+M3+ARROW_DOWN">
938 </key>
939 <key
940 commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
941 contextId="org.eclipse.ui.contexts.window"
942 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
943 sequence="M2+M3+ARROW_UP">
944 </key>
945 <scheme
946 description="The default key binding scheme for the Taxonomic Editor"
947 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
948 name="Taxonomic Editor Default Key Bindings">
949 </scheme>
950 </extension>
951 <extension
952 point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
953 <propertyContributor
954 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor"
955 labelProvider="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyPageLabelProvider"
956 typeMapper="eu.etaxonomy.taxeditor.propertysheet.tabbed.TaxonTypeMapper">
957 <propertyCategory
958 category="taxonBase"></propertyCategory>
959 </propertyContributor>
960 </extension>
961 <extension
962 point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
963 <propertyTabs
964 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
965 <propertyTab
966 category="taxonBase"
967 id="taxonNameEditor.nameTab"
968 label="Name">
969 </propertyTab>
970 <propertyTab
971 afterTab="taxonNameEditor.nomRefTab"
972 category="taxonBase"
973 id="taxonNameEditor.nameRelationsTab"
974 label="Name Relations">
975 </propertyTab>
976 <propertyTab
977 afterTab="taxonNameEditor.nameRelationsfTab"
978 category="taxonBase"
979 id="taxonNameEditor.secundumTab"
980 label="Secundum">
981 </propertyTab>
982 <propertyTab
983 afterTab="taxonNameEditor.secundumTab"
984 category="taxonBase"
985 id="taxonNameEditor.annotationsTab"
986 label="Annotations">
987 </propertyTab>
988 <propertyTab
989 afterTab="taxonNameEditor.annotationsTab"
990 category="taxonBase"
991 id="taxonNameEditor.generalTab"
992 label="General">
993 </propertyTab>
994 </propertyTabs>
995 </extension>
996 <extension
997 point="org.eclipse.ui.views.properties.tabbed.propertySections">
998 <propertySections
999 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
1000 <propertySection
1001 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameOverviewSection"
1002 id="taxonNameEditor.overview.name"
1003 tab="taxonNameEditor.nameTab">
1004 <input
1005 type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
1006 </input>
1007 <input
1008 type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
1009 </input>
1010 </propertySection>
1011 <propertySection
1012 afterSection="taxonNameEditor.overview.name"
1013 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NamePropertySection"
1014 id="taxonNameEditor.nameSection"
1015 tab="taxonNameEditor.nameTab">
1016 <input
1017 type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
1018 </input>
1019 <input
1020 type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
1021 </input>
1022 </propertySection>
1023 <!--propertySection
1024 afterSection="taxonNameEditor.nameSection"
1025 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AuthorSection"
1026 id="taxonNameEditor.authorSection"
1027 tab="taxonNameEditor.nameTab">
1028 <input
1029 type="eu.etaxonomy.cdm.model.taxon.Taxon">
1030 </input>
1031 <input
1032 type="eu.etaxonomy.cdm.model.taxon.Synonym">
1033 </input>
1034 </propertySection>
1035 <propertySection
1036 afterSection="taxonNameEditor.authorSection"
1037 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NomRefPropertySection"
1038 id="taxonNameEditor.nomRefSection"
1039 tab="taxonNameEditor.nameTab">
1040 <input
1041 type="eu.etaxonomy.cdm.model.taxon.Taxon">
1042 </input>
1043 <input
1044 type="eu.etaxonomy.cdm.model.taxon.Synonym">
1045 </input>
1046 </propertySection-->
1047 <propertySection
1048 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.CreatedSection"
1049 id="taxonNameEditor.createdSection"
1050 tab="taxonNameEditor.generalTab">
1051 <input
1052 type="eu.etaxonomy.cdm.model.taxon.Taxon">
1053 </input>
1054 <input
1055 type="eu.etaxonomy.cdm.model.taxon.Synonym">
1056 </input>
1057 </propertySection>
1058 <propertySection
1059 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AnnotationSection"
1060 id="taxonNameEditor.annotationSection"
1061 tab="taxonNameEditor.annotationsTab">
1062 <input
1063 type="eu.etaxonomy.cdm.model.taxon.Taxon">
1064 </input>
1065 <input
1066 type="eu.etaxonomy.cdm.model.taxon.Synonym">
1067 </input>
1068 </propertySection>
1069 <propertySection
1070 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameRelationsSection"
1071 id="taxonNameEditor.nameRelationSection"
1072 tab="taxonNameEditor.nameRelationsTab">
1073 <input
1074 type="eu.etaxonomy.cdm.model.taxon.Taxon">
1075 </input>
1076 <input
1077 type="eu.etaxonomy.cdm.model.taxon.Synonym">
1078 </input>
1079 </propertySection>
1080 <propertySection
1081 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.SecundumSection"
1082 id="taxonNameEditor.secundumSection"
1083 tab="taxonNameEditor.secundumTab">
1084 <input
1085 type="eu.etaxonomy.cdm.model.taxon.Taxon">
1086 </input>
1087 <input
1088 type="eu.etaxonomy.cdm.model.taxon.Synonym">
1089 </input>
1090 </propertySection>
1091 </propertySections>
1092 </extension>
1093 <extension
1094 point="org.eclipse.core.expressions.propertyTesters">
1095 <propertyTester
1096 class="eu.etaxonomy.taxeditor.editor.labels.LabelPropertyTester"
1097 id="eu.etaxonomy.taxeditor.propertytests.labelPropertyTester"
1098 namespace="eu.etaxonomy.taxeditor.label.propertytests"
1099 properties="isZoological"
1100 type="eu.etaxonomy.taxeditor.propertysheet.name.SynonymPropertySource">
1101 </propertyTester>
1102 </extension>
1103 <extension
1104 point="org.eclipse.core.runtime.adapters">
1105 <factory
1106 adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
1107 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
1108 <adapter
1109 type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
1110 </adapter>
1111 </factory>
1112 </extension>
1113 </plugin>