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