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