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