AT: Comminting changes for FP7 project continuity
[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 </extension>
56 <extension
57 point="org.eclipse.ui.views">
58 <view
59 allowMultiple="false"
60 class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
61 icon="icons/address-book-new.png"
62 id="eu.etaxonomy.taxeditor.editor.view.descriptive"
63 name="Descriptive"
64 restorable="true">
65 </view>
66 <view
67 allowMultiple="false"
68 class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
69 icon="icons/leaf.png"
70 id="eu.etaxonomy.taxeditor.editor.view.uses"
71 name="Uses"
72 restorable="true">
73 </view>
74 <view
75 allowMultiple="false"
76 class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
77 icon="icons/camera-photo.png"
78 id="eu.etaxonomy.taxeditor.editor.view.media"
79 name="Media"
80 restorable="true">
81 </view>
82 <view
83 class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
84 id="eu.etaxonomy.taxeditor.editor.view.concept"
85 name="Concept Relations"
86 restorable="true">
87 </view>
88 </extension>
89 <extension
90 point="org.eclipse.ui.elementFactories">
91 <factory
92 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
93 id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
94 </factory>
95 </extension>
96 <extension
97 point="org.eclipse.ui.menus">
98 <menuContribution
99 locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
100 <command
101 commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
102 label="Reference"
103 style="push">
104 </command>
105 <command
106 commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
107 label="Name"
108 style="push">
109 </command>
110 <command
111 commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
112 label="Team"
113 style="push">
114 </command>
115 <command
116 commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
117 label="Person"
118 style="push">
119 </command>
120 <command
121 commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
122 label="Specimen"
123 style="push">
124 </command>
125 </menuContribution>
126 <menuContribution
127 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
128 <separator
129 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
130 visible="true">
131 </separator>
132 <command
133 commandId="org.eclipse.ui.views.showView"
134 label="Descriptive"
135 style="push">
136 <parameter
137 name="org.eclipse.ui.views.showView.viewId"
138 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
139 </parameter>
140 </command>
141 <command
142 commandId="org.eclipse.ui.views.showView"
143 label="Media"
144 style="push">
145 <parameter
146 name="org.eclipse.ui.views.showView.viewId"
147 value="eu.etaxonomy.taxeditor.editor.view.media">
148 </parameter>
149 </command>
150 <command
151 commandId="org.eclipse.ui.views.showView"
152 label="Concept"
153 style="push">
154 <parameter
155 name="org.eclipse.ui.views.showView.viewId"
156 value="eu.etaxonomy.taxeditor.editor.view.concept">
157 </parameter>
158 </command>
159 </menuContribution>
160 <menuContribution
161 locationURI="menu:org.eclipse.ui.main.menu.navigate">
162 <command
163 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
164 label="Open Parent"
165 style="push">
166 </command>
167 </menuContribution>
168 <menuContribution
169 locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
170 <menu
171 label="New">
172 <command
173 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
174 label="Heterotypic Synonym"
175 style="push">
176 <visibleWhen>
177 <reference
178 definitionId="isAcceptedTaxon">
179 </reference>
180 </visibleWhen>
181 </command>
182 <command
183 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
184 label="Homotypic Synonym"
185 style="push">
186 <visibleWhen>
187 <reference
188 definitionId="isAcceptedTaxon">
189 </reference>
190 </visibleWhen>
191 </command>
192 <command
193 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
194 label="Synonym In Homotypical Group"
195 style="push">
196 <visibleWhen>
197 <reference
198 definitionId="isSynonym">
199 </reference>
200 </visibleWhen>
201 </command>
202 <separator
203 name="separator1"
204 visible="true">
205 </separator>
206 <command
207 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
208 label="Misapplication"
209 style="push">
210 <visibleWhen>
211 <or>
212 <reference
213 definitionId="isAcceptedTaxon">
214 </reference>
215 <reference
216 definitionId="isMisapplication">
217 </reference>
218 </or>
219 </visibleWhen>
220 </command>
221 </menu>
222 <command
223 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
224 label="Change Accepted Taxon to Synonym"
225 style="push">
226 <visibleWhen
227 checkEnabled="true">
228 <reference
229 definitionId="isAcceptedAndHasNoHomotypicSynonyms">
230 </reference>
231 </visibleWhen>
232 </command>
233 <menu
234 label="Change To">
235 <command
236 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
237 label="Accepted Taxon"
238 style="push">
239 <visibleWhen>
240 <not>
241 <or>
242 <reference
243 definitionId="isAcceptedTaxon">
244 </reference>
245 <reference
246 definitionId="isMisapplication">
247 </reference>
248 </or>
249 </not>
250 </visibleWhen>
251 </command>
252 <command
253 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
254 label="Synonym"
255 style="push">
256 <visibleWhen>
257 <not>
258 <or>
259 <reference
260 definitionId="isAcceptedTaxon">
261 </reference>
262 <reference
263 definitionId="isSynonym">
264 </reference>
265 </or>
266 </not>
267 </visibleWhen>
268 </command>
269 <command
270 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
271 label="Misapplication"
272 style="push">
273 <visibleWhen>
274 <not>
275 <or>
276 <reference
277 definitionId="isAcceptedTaxon">
278 </reference>
279 <reference
280 definitionId="isMisapplication">
281 </reference>
282 </or>
283 </not>
284 </visibleWhen>
285 </command>
286 </menu>
287 <separator
288 name="taxeditor-editor.separator1"
289 visible="true">
290 </separator>
291 <command
292 commandId="org.eclipse.ui.edit.delete"
293 label="Delete"
294 style="push">
295 <visibleWhen>
296 <or>
297 <reference
298 definitionId="isSynonym">
299 </reference>
300 <reference
301 definitionId="isMisapplication">
302 </reference>
303 <reference
304 definitionId="isConceptRelation">
305 </reference>
306 </or>
307 </visibleWhen>
308 </command>
309 <command
310 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
311 label="Delete All Empty Names"
312 style="push">
313 <visibleWhen>
314 <reference
315 definitionId="hasEmptyNames">
316 </reference>
317 </visibleWhen>
318 </command>
319 <separator
320 name="taxeditor-editor.separator2"
321 visible="true">
322 </separator>
323 <dynamic
324 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
325 id="taxeditor-editor.dynamic.setBasionym">
326 <visibleWhen>
327 <or>
328 <reference
329 definitionId="isAcceptedTaxon">
330 </reference>
331 <reference
332 definitionId="isSynonym">
333 </reference>
334 </or>
335 </visibleWhen>
336 </dynamic>
337 <command
338 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
339 label="Swap Synonym With Accepted"
340 style="push">
341 <visibleWhen>
342 <reference
343 definitionId="isSynonym">
344 </reference>
345 </visibleWhen>
346 </command>
347 <separator
348 name="taxeditor-editor.separator3"
349 visible="true">
350 </separator>
351 <command
352 commandId="org.eclipse.ui.views.showView"
353 label="Show Details"
354 style="push">
355 <parameter
356 name="org.eclipse.ui.views.showView.viewId"
357 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
358 </parameter>
359 </command>
360 <separator
361 name="taxeditor-editor.separator4"
362 visible="true">
363 </separator>
364 <command
365 commandId="org.eclipse.ui.file.save"
366 label="Save"
367 style="push">
368 </command>
369 </menuContribution>
370 <menuContribution
371 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
372 <command
373 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
374 label="New Node"
375 style="push">
376 </command>
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 </command>
386 <separator
387 name="taxeditor-editor.separator2"
388 visible="true">
389 </separator>
390 <command
391 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
392 label="Apply Layout"
393 style="push">
394 </command>
395 <separator
396 name="taxeditor-editor.separator3"
397 visible="true">
398 </separator>
399 </menuContribution>
400 <menuContribution
401 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
402 <command
403 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
404 label="New Descriptive Data"
405 style="push">
406 </command>
407 <separator
408 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
409 visible="true">
410 </separator>
411 <menu
412 label="New">
413 <dynamic
414 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
415 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
416 </dynamic>
417 <visibleWhen
418 checkEnabled="true">
419 <or>
420 <reference
421 definitionId="isDescription">
422 </reference>
423 <reference
424 definitionId="isDescriptionElement">
425 </reference>
426 <reference
427 definitionId="isFeatureNodeContainer">
428 </reference>
429 </or>
430 </visibleWhen>
431 </menu>
432 <separator
433 name="taxeditor-editor.separator1"
434 visible="true">
435 </separator>
436 <command
437 commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
438 label="Move Elements"
439 style="push">
440 <visibleWhen
441 checkEnabled="true">
442 <reference
443 definitionId="isDescriptionElement">
444 </reference>
445 </visibleWhen>
446 </command>
447 <separator
448 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
449 visible="true">
450 </separator>
451 <command
452 commandId="org.eclipse.ui.edit.delete"
453 label="Delete"
454 style="push">
455 </command>
456 <separator
457 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
458 visible="true">
459 </separator>
460 <command
461 commandId="org.eclipse.ui.file.save"
462 label="Save"
463 style="push">
464 </command>
465 </menuContribution>
466
467
468
469
470 <menuContribution
471 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
472 <command
473 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
474 label="New Use"
475 style="push">
476 </command>
477 <command
478 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
479 label="New Use Record"
480 style="push">
481 </command>
482 <separator
483 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
484 visible="true">
485 </separator>
486 <menu
487 label="New">
488 <dynamic
489 class="eu.etaxonomy.taxeditor.editor.view.uses.handler.DynamicFeatureMenu"
490 id="eu.etaxonomy.taxeditor.uses.dynamicFeatureMenu">
491 </dynamic>
492 <visibleWhen
493 checkEnabled="true">
494 <or>
495 <reference
496 definitionId="isDescription">
497 </reference>
498 <reference
499 definitionId="isDescriptionElement">
500 </reference>
501 <reference
502 definitionId="isFeatureNodeContainer">
503 </reference>
504 </or>
505 </visibleWhen>
506 </menu>
507 <separator
508 name="taxeditor-editor.separator1"
509 visible="true">
510 </separator>
511 <separator
512 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
513 visible="true">
514 </separator>
515 <command
516 commandId="org.eclipse.ui.edit.delete"
517 label="Delete"
518 style="push">
519 </command>
520 <separator
521 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
522 visible="true">
523 </separator>
524 <command
525 commandId="org.eclipse.ui.file.save"
526 label="Save"
527 style="push">
528 </command>
529 </menuContribution>
530
531
532
533
534
535 <menuContribution
536 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
537 <command
538 commandId="taxeditor-editor.command.newimagegallery"
539 label="New Image Gallery"
540 style="push">
541 </command>
542 <separator
543 name="taxeditor-editor.separator1"
544 visible="true">
545 </separator>
546 <command
547 commandId="taxeditor-editor.newimage"
548 label="New Image"
549 style="push">
550 <visibleWhen>
551 <reference
552 definitionId="isImageGallery">
553 </reference>
554 </visibleWhen>
555 </command>
556 <command
557 commandId="taxeditor-editor.command.moveimgdown"
558 label="Move Image Up In List"
559 style="push">
560 <visibleWhen>
561 <reference
562 definitionId="isMedia">
563 </reference>
564 </visibleWhen>
565 </command>
566 <command
567 commandId="taxeditor-editor.command.moveimgup"
568 label="Move Image Down In List"
569 style="push">
570 <visibleWhen>
571 <reference
572 definitionId="isMedia">
573 </reference>
574 </visibleWhen>
575 </command>
576 <separator
577 name="taxeditor-editor.separator2"
578 visible="true">
579 </separator>
580 <command
581 commandId="org.eclipse.ui.edit.delete"
582 label="Delete"
583 style="push">
584 </command>
585 <command
586 commandId="org.eclipse.ui.file.save"
587 label="Save"
588 style="push">
589 </command>
590 </menuContribution>
591 <menuContribution
592 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
593 <menu
594 label="New">
595 <dynamic
596 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
597 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
598 </dynamic>
599 </menu>
600 <command
601 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
602 label="Open Related Concept"
603 style="push">
604 </command>
605 <separator
606 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
607 visible="true">
608 </separator>
609 <command
610 commandId="org.eclipse.ui.edit.delete"
611 label="Delete"
612 style="push">
613 </command>
614 </menuContribution>
615 <menuContribution
616 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
617 <command
618 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
619 label="New"
620 style="push">
621 </command>
622 <command
623 commandId="org.eclipse.ui.edit.delete"
624 label="Delete"
625 style="push">
626 </command>
627 </menuContribution>
628 </extension>
629 <extension
630 point="org.eclipse.ui.handlers">
631 <handler
632 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
633 commandId="org.eclipse.ui.window.newEditor">
634 <activeWhen>
635 <not>
636 <instanceof
637 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
638 </instanceof>
639 </not>
640 </activeWhen>
641 <enabledWhen>
642 <count
643 value="-1">
644 </count>
645 </enabledWhen>
646 </handler>
647 <handler
648 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
649 commandId="org.eclipse.ui.edit.delete">
650 <activeWhen>
651 <and>
652 <reference
653 definitionId="isTaxonBase">
654 </reference>
655 <not>
656 <reference
657 definitionId="isAcceptedTaxon">
658 </reference>
659 </not>
660 </and>
661 </activeWhen>
662 </handler>
663 <handler
664 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
665 commandId="org.eclipse.ui.edit.delete">
666 <activeWhen>
667 <with
668 variable="activePartId">
669 <or>
670 <equals
671 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
672 </equals>
673 <equals
674 value="eu.etaxonomy.taxeditor.editor.view.media">
675 </equals>
676 </or>
677 </with>
678 </activeWhen>
679 </handler>
680 <handler
681 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
682 commandId="org.eclipse.ui.edit.delete">
683 <activeWhen>
684 <with
685 variable="activePartId">
686 <equals
687 value="eu.etaxonomy.taxeditor.editor.key">
688 </equals>
689 </with>
690 </activeWhen>
691 </handler>
692 <handler
693 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
694 commandId="org.eclipse.ui.edit.delete">
695 <activeWhen>
696 <with
697 variable="activePartId">
698 <equals
699 value="eu.etaxonomy.taxeditor.editor.view.concept">
700 </equals>
701 </with>
702 </activeWhen>
703 </handler>
704 <handler
705 class="eu.etaxonomy.taxeditor.editor.view.uses.handler.DeleteUseHandler"
706 commandId="org.eclipse.ui.edit.delete">
707 <activeWhen>
708 <with
709 variable="activePartId">
710 <equals
711 value="eu.etaxonomy.taxeditor.editor.view.uses">
712 </equals>
713 </with>
714 </activeWhen>
715 </handler>
716 </extension>
717 <extension
718 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
719 name="Name Commands"
720 point="org.eclipse.ui.commands">
721 <category
722 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
723 name="-- Name Editor">
724 </category>
725 <command
726 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
727 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
728 id="eu.etaxonomy.taxeditor.editor.command.openParent"
729 name="Open Parent">
730 </command>
731 <command
732 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
733 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
734 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
735 name="Create Homotypic Synonym">
736 </command>
737 <command
738 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
739 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
740 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
741 name="Create Heterotypic Synonym">
742 </command>
743 <command
744 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
745 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
746 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
747 name="Create Synonym In Homotypical Group">
748 </command>
749 <command
750 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
751 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
752 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
753 name="Create Misapplication">
754 </command>
755 <!--command
756 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
757 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
758 name="Move Taxon">
759 </command-->
760 <command
761 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
762 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
763 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
764 name="Change To Synonym">
765 </command>
766 <command
767 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
768 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
769 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
770 name="Change To Accepted Taxon">
771 </command>
772 <command
773 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
774 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
775 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
776 name="Change To Misapplication">
777 </command>
778 <command
779 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
780 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
781 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
782 name="Swap Synonym With Accepted">
783 </command>
784 <command
785 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
786 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
787 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
788 name="Set Basionym / Original Combination">
789 </command>
790 <command
791 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
792 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
793 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
794 name="Remove Basionym / Original Combination">
795 </command>
796 <command
797 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
798 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
799 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
800 name="Change Accepted Taxon to Synonym">
801 </command>
802 <command
803 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
804 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
805 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
806 name="Delete All Empty Names">
807 </command>
808 <category
809 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
810 name="-- Descriptive">
811 </category>
812 <command
813 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
814 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
815 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
816 name="Create Description Element">
817 </command>
818 <command
819 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
820 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
821 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
822 name="New Description">
823 </command>
824 <command
825 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
826 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
827 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
828 name="Move Description Elements">
829 </command>
830 <category
831 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
832 name="-- New Uses">
833 </category>
834 <command
835 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
836 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
837 id="eu.etaxonomy.taxeditor.use.commands.adduse"
838 name="New Use">
839 </command>
840 <command
841 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
842 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
843 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
844 name="New Use Record">
845 </command>
846 <category
847 id="eu.etaxonomy.taxeditor.editor.media.category"
848 name="-- Media">
849 </category>
850 <command
851 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
852 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
853 id="taxeditor-editor.command.moveimgdown"
854 name="Move Image Down In List">
855 </command>
856 <command
857 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
858 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
859 id="taxeditor-editor.command.newimagegallery"
860 name="New Image Gallery">
861 </command>
862 <command
863 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
864 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
865 id="taxeditor-editor.newimage"
866 name="New Image">
867 </command>
868 <command
869 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
870 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
871 id="taxeditor-editor.command.moveimgup"
872 name="Move Image Up In List">
873 </command>
874 <category
875 id="eu.etaxonomy.taxeditor.editor.new.category"
876 name="-- New Entity">
877 </category>
878 <command
879 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
880 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
881 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
882 name="New Reference">
883 </command>
884 <command
885 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
886 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
887 id="eu.etaxonomy.taxeditor.editor.command.new.name"
888 name="New Name">
889 </command>
890 <command
891 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
892 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
893 id="eu.etaxonomy.taxeditor.editor.command.new.team"
894 name="New Team">
895 </command>
896 <command
897 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
898 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
899 id="eu.etaxonomy.taxeditor.editor.command.new.person"
900 name="New Person">
901 </command>
902 <command
903 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
904 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
905 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
906 name="New Specimen">
907 </command>
908 <category
909 id="eu.etaxonomy.taxeditor.editor.key.category"
910 name="-- Polytomous Keys">
911 </category>
912 <command
913 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
914 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateNodeHandler"
915 id="eu.etaxonomy.taxeditor.key.polytomous.command.new"
916 name="New Node">
917 </command>
918 <command
919 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
920 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
921 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
922 name="Apply Layout">
923 </command>
924 <category
925 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
926 name="-- Concept Relations">
927 </category>
928 <command
929 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
930 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
931 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
932 name="Create Concept Relation">
933 </command>
934 <command
935 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
936 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
937 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
938 name="Open Related Concept">
939 </command>
940 </extension>
941 <extension
942 point="org.eclipse.core.expressions.definitions">
943 <definition
944 id="nameEditorActive">
945 <with
946 variable="activeEditorId">
947 <equals
948 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
949 </equals>
950 </with>
951 </definition>
952 <definition
953 id="isAcceptedTaxon">
954 <with
955 variable="selection">
956 <test
957 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
958 </test>
959 </with>
960 </definition>
961 <definition
962 id="isSynonym">
963 <with
964 variable="selection">
965 <test
966 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
967 </test>
968 </with>
969 </definition>
970 <definition
971 id="isMisapplication">
972 <with
973 variable="selection">
974 <test
975 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
976 </test>
977 </with>
978 </definition>
979 <definition
980 id="isTaxonBase">
981 <with
982 variable="selection">
983 <test
984 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
985 </test>
986 </with>
987 </definition>
988 <definition
989 id="hasEmptyNames">
990 <with
991 variable="selection">
992 <test
993 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
994 </test>
995 </with>
996 </definition>
997 <definition
998 id="isDeletable">
999 <with
1000 variable="selection">
1001 <test
1002 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1003 </test>
1004 </with>
1005 </definition>
1006 <definition
1007 id="isMedia">
1008 <with
1009 variable="selection">
1010 <test
1011 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1012 </test>
1013 </with>
1014 </definition>
1015 <definition
1016 id="isDescription">
1017 <with
1018 variable="selection">
1019 <test
1020 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1021 </test>
1022 </with>
1023 </definition>
1024 <definition
1025 id="isDescriptionElement">
1026 <with
1027 variable="selection">
1028 <test
1029 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1030 </test>
1031 </with>
1032 </definition>
1033 <definition
1034 id="isFeatureNodeContainer">
1035 <with
1036 variable="selection">
1037 <test
1038 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1039 </test>
1040 </with>
1041 </definition>
1042 <definition
1043 id="isImageGallery">
1044 <with
1045 variable="selection">
1046 <test
1047 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1048 </test>
1049 </with>
1050 </definition>
1051 <definition
1052 id="isAcceptedAndHasNoHomotypicSynonyms">
1053 <with
1054 variable="selection">
1055 <test
1056 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1057 </test>
1058 </with>
1059 </definition>
1060 </extension>
1061 <extension
1062 point="org.eclipse.core.expressions.propertyTesters">
1063 <propertyTester
1064 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1065 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1066 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1067 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1068 type="org.eclipse.jface.viewers.IStructuredSelection">
1069 </propertyTester>
1070 <propertyTester
1071 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1072 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1073 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1074 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery"
1075 type="org.eclipse.jface.viewers.TreeSelection">
1076 </propertyTester>
1077 </extension>
1078 <extension
1079 point="org.eclipse.ui.bindings">
1080 <scheme
1081 description="The default key binding scheme for the Taxonomic Editor"
1082 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1083 name="Taxonomic Editor Default Key Bindings">
1084 </scheme>
1085 </extension>
1086 </plugin>