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