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