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