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