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