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