bugfix for version number in product file
[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.view.descriptive">
424 <command
425 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
426 label="New Descriptive Data"
427 style="push">
428 </command>
429 <separator
430 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
431 visible="true">
432 </separator>
433 <menu
434 label="New">
435 <dynamic
436 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
437 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
438 </dynamic>
439 <visibleWhen
440 checkEnabled="true">
441 <or>
442 <reference
443 definitionId="isDescription">
444 </reference>
445 <reference
446 definitionId="isDescriptionElement">
447 </reference>
448 <reference
449 definitionId="isFeatureNodeContainer">
450 </reference>
451 </or>
452 </visibleWhen>
453 </menu>
454 <separator
455 name="taxeditor-editor.separator1"
456 visible="true">
457 </separator>
458 <command
459 commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
460 label="Move Elements"
461 style="push">
462 <visibleWhen
463 checkEnabled="true">
464 <reference
465 definitionId="isDescriptionElement">
466 </reference>
467 </visibleWhen>
468 </command>
469 <separator
470 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
471 visible="true">
472 </separator>
473 <command
474 commandId="org.eclipse.ui.edit.delete"
475 label="Delete"
476 style="push">
477 </command>
478 <separator
479 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
480 visible="true">
481 </separator>
482 <command
483 commandId="org.eclipse.ui.file.save"
484 label="Save"
485 style="push">
486 </command>
487 </menuContribution>
488
489
490
491
492 <menuContribution
493 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
494 <command
495 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
496 label="New Use"
497 style="push">
498 </command>
499 <command
500 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
501 label="New Use Summary"
502 style="push">
503 <visibleWhen
504 checkEnabled="true">
505 <or>
506 <reference
507 definitionId="isDescription">
508 </reference>
509 <reference
510 definitionId="isDescriptionElement">
511 </reference>
512 <reference
513 definitionId="isFeatureNodeContainer">
514 </reference>
515 </or>
516 </visibleWhen>
517 </command>
518 <command
519 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
520 label="New Use Record"
521 style="push">
522 <visibleWhen
523 checkEnabled="true">
524 <or>
525 <reference
526 definitionId="isDescription">
527 </reference>
528 <reference
529 definitionId="isDescriptionElement">
530 </reference>
531 <reference
532 definitionId="isFeatureNodeContainer">
533 </reference>
534 </or>
535 </visibleWhen>
536 </command>
537 <separator
538 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
539 visible="true">
540 </separator>
541 <separator
542 name="taxeditor-editor.separator1"
543 visible="true">
544 </separator>
545 <separator
546 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
547 visible="true">
548 </separator>
549 <command
550 commandId="org.eclipse.ui.edit.delete"
551 label="Delete"
552 style="push">
553 </command>
554 <separator
555 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
556 visible="true">
557 </separator>
558 <command
559 commandId="org.eclipse.ui.file.save"
560 label="Save"
561 style="push">
562 </command>
563 </menuContribution>
564
565
566
567
568
569 <menuContribution
570 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
571 <command
572 commandId="taxeditor-editor.command.newimagegallery"
573 label="New Image Gallery"
574 style="push">
575 </command>
576 <separator
577 name="taxeditor-editor.separator1"
578 visible="true">
579 </separator>
580 <command
581 commandId="taxeditor-editor.newimage"
582 label="New Image"
583 style="push">
584 <visibleWhen>
585 <reference
586 definitionId="isImageGallery">
587 </reference>
588 </visibleWhen>
589 </command>
590 <command
591 commandId="taxeditor-editor.command.moveimgdown"
592 label="Move Image Up In List"
593 style="push">
594 <visibleWhen>
595 <reference
596 definitionId="isMedia">
597 </reference>
598 </visibleWhen>
599 </command>
600 <command
601 commandId="taxeditor-editor.command.moveimgup"
602 label="Move Image Down In List"
603 style="push">
604 <visibleWhen>
605 <reference
606 definitionId="isMedia">
607 </reference>
608 </visibleWhen>
609 </command>
610 <separator
611 name="taxeditor-editor.separator2"
612 visible="true">
613 </separator>
614 <command
615 commandId="org.eclipse.ui.edit.delete"
616 label="Delete"
617 style="push">
618 </command>
619 <command
620 commandId="org.eclipse.ui.file.save"
621 label="Save"
622 style="push">
623 </command>
624 </menuContribution>
625 <menuContribution
626 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
627 <menu
628 label="New">
629 <dynamic
630 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
631 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
632 </dynamic>
633 </menu>
634 <command
635 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
636 label="Open Related Concept"
637 style="push">
638 </command>
639 <separator
640 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
641 visible="true">
642 </separator>
643 <command
644 commandId="org.eclipse.ui.edit.delete"
645 label="Delete"
646 style="push">
647 </command>
648 </menuContribution>
649 <menuContribution
650 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
651 <command
652 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
653 label="New"
654 style="push">
655 </command>
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>