AT: committing changes to the TaxEditor Post first round of code review
[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.createUseSummary"
479 label="New Use Summary"
480 style="push">
481 <visibleWhen
482 checkEnabled="true">
483 <or>
484 <reference
485 definitionId="isDescription">
486 </reference>
487 <reference
488 definitionId="isDescriptionElement">
489 </reference>
490 <reference
491 definitionId="isFeatureNodeContainer">
492 </reference>
493 </or>
494 </visibleWhen>
495 </command>
496 <command
497 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
498 label="New Use Record"
499 style="push">
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 </command>
515 <separator
516 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
517 visible="true">
518 </separator>
519 <separator
520 name="taxeditor-editor.separator1"
521 visible="true">
522 </separator>
523 <separator
524 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
525 visible="true">
526 </separator>
527 <command
528 commandId="org.eclipse.ui.edit.delete"
529 label="Delete"
530 style="push">
531 </command>
532 <separator
533 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
534 visible="true">
535 </separator>
536 <command
537 commandId="org.eclipse.ui.file.save"
538 label="Save"
539 style="push">
540 </command>
541 </menuContribution>
542
543
544
545
546
547 <menuContribution
548 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
549 <command
550 commandId="taxeditor-editor.command.newimagegallery"
551 label="New Image Gallery"
552 style="push">
553 </command>
554 <separator
555 name="taxeditor-editor.separator1"
556 visible="true">
557 </separator>
558 <command
559 commandId="taxeditor-editor.newimage"
560 label="New Image"
561 style="push">
562 <visibleWhen>
563 <reference
564 definitionId="isImageGallery">
565 </reference>
566 </visibleWhen>
567 </command>
568 <command
569 commandId="taxeditor-editor.command.moveimgdown"
570 label="Move Image Up In List"
571 style="push">
572 <visibleWhen>
573 <reference
574 definitionId="isMedia">
575 </reference>
576 </visibleWhen>
577 </command>
578 <command
579 commandId="taxeditor-editor.command.moveimgup"
580 label="Move Image Down In List"
581 style="push">
582 <visibleWhen>
583 <reference
584 definitionId="isMedia">
585 </reference>
586 </visibleWhen>
587 </command>
588 <separator
589 name="taxeditor-editor.separator2"
590 visible="true">
591 </separator>
592 <command
593 commandId="org.eclipse.ui.edit.delete"
594 label="Delete"
595 style="push">
596 </command>
597 <command
598 commandId="org.eclipse.ui.file.save"
599 label="Save"
600 style="push">
601 </command>
602 </menuContribution>
603 <menuContribution
604 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
605 <menu
606 label="New">
607 <dynamic
608 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
609 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
610 </dynamic>
611 </menu>
612 <command
613 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
614 label="Open Related Concept"
615 style="push">
616 </command>
617 <separator
618 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
619 visible="true">
620 </separator>
621 <command
622 commandId="org.eclipse.ui.edit.delete"
623 label="Delete"
624 style="push">
625 </command>
626 </menuContribution>
627 <menuContribution
628 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
629 <command
630 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
631 label="New"
632 style="push">
633 </command>
634 <command
635 commandId="org.eclipse.ui.edit.delete"
636 label="Delete"
637 style="push">
638 </command>
639 </menuContribution>
640 </extension>
641 <extension
642 point="org.eclipse.ui.handlers">
643 <handler
644 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
645 commandId="org.eclipse.ui.window.newEditor">
646 <activeWhen>
647 <not>
648 <instanceof
649 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
650 </instanceof>
651 </not>
652 </activeWhen>
653 <enabledWhen>
654 <count
655 value="-1">
656 </count>
657 </enabledWhen>
658 </handler>
659 <handler
660 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
661 commandId="org.eclipse.ui.edit.delete">
662 <activeWhen>
663 <and>
664 <reference
665 definitionId="isTaxonBase">
666 </reference>
667 <not>
668 <reference
669 definitionId="isAcceptedTaxon">
670 </reference>
671 </not>
672 </and>
673 </activeWhen>
674 </handler>
675 <handler
676 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
677 commandId="org.eclipse.ui.edit.delete">
678 <activeWhen>
679 <with
680 variable="activePartId">
681 <or>
682 <equals
683 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
684 </equals>
685 <equals
686 value="eu.etaxonomy.taxeditor.editor.view.media">
687 </equals>
688 </or>
689 </with>
690 </activeWhen>
691 </handler>
692 <handler
693 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
694 commandId="org.eclipse.ui.edit.delete">
695 <activeWhen>
696 <with
697 variable="activePartId">
698 <equals
699 value="eu.etaxonomy.taxeditor.editor.key">
700 </equals>
701 </with>
702 </activeWhen>
703 </handler>
704 <handler
705 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
706 commandId="org.eclipse.ui.edit.delete">
707 <activeWhen>
708 <with
709 variable="activePartId">
710 <equals
711 value="eu.etaxonomy.taxeditor.editor.view.concept">
712 </equals>
713 </with>
714 </activeWhen>
715 </handler>
716 <handler
717 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
718 commandId="org.eclipse.ui.edit.delete">
719 <activeWhen>
720 <with
721 variable="activePartId">
722 <equals
723 value="eu.etaxonomy.taxeditor.editor.view.uses">
724 </equals>
725 </with>
726 </activeWhen>
727 </handler>
728 </extension>
729 <extension
730 name="Name Commands"
731 point="org.eclipse.ui.commands">
732 <category
733 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
734 name="-- Name Editor">
735 </category>
736 <command
737 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
738 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
739 id="eu.etaxonomy.taxeditor.editor.command.openParent"
740 name="Open Parent">
741 </command>
742 <command
743 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
744 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
745 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
746 name="Create Homotypic Synonym">
747 </command>
748 <command
749 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
750 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
751 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
752 name="Create Heterotypic Synonym">
753 </command>
754 <command
755 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
756 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
757 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
758 name="Create Synonym In Homotypical Group">
759 </command>
760 <command
761 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
762 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
763 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
764 name="Create Misapplication">
765 </command>
766 <!--command
767 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
768 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
769 name="Move Taxon">
770 </command-->
771 <command
772 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
773 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
774 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
775 name="Change To Synonym">
776 </command>
777 <command
778 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
779 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
780 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
781 name="Change To Accepted Taxon">
782 </command>
783 <command
784 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
785 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
786 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
787 name="Change To Misapplication">
788 </command>
789 <command
790 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
791 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
792 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
793 name="Swap Synonym With Accepted">
794 </command>
795 <command
796 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
797 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
798 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
799 name="Set Basionym / Original Combination">
800 </command>
801 <command
802 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
803 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
804 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
805 name="Remove Basionym / Original Combination">
806 </command>
807 <command
808 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
809 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
810 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
811 name="Change Accepted Taxon to Synonym">
812 </command>
813 <command
814 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
815 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
816 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
817 name="Delete All Empty Names">
818 </command>
819 <category
820 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
821 name="-- Descriptive">
822 </category>
823 <command
824 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
825 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
826 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
827 name="Create Description Element">
828 </command>
829 <command
830 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
831 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
832 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
833 name="New Description">
834 </command>
835 <command
836 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
837 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
838 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
839 name="Move Description Elements">
840 </command>
841 <category
842 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
843 name="-- New Uses">
844 </category>
845 <command
846 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
847 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
848 id="eu.etaxonomy.taxeditor.use.commands.adduse"
849 name="New Use">
850 </command>
851 <command
852 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
853 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
854 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
855 name="New Use Summary">
856 </command>
857 <command
858 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
859 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
860 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
861 name="New Use Record">
862 </command>
863 <category
864 id="eu.etaxonomy.taxeditor.editor.media.category"
865 name="-- Media">
866 </category>
867 <command
868 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
869 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
870 id="taxeditor-editor.command.moveimgdown"
871 name="Move Image Down In List">
872 </command>
873 <command
874 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
875 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
876 id="taxeditor-editor.command.newimagegallery"
877 name="New Image Gallery">
878 </command>
879 <command
880 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
881 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
882 id="taxeditor-editor.newimage"
883 name="New Image">
884 </command>
885 <command
886 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
887 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
888 id="taxeditor-editor.command.moveimgup"
889 name="Move Image Up In List">
890 </command>
891 <category
892 id="eu.etaxonomy.taxeditor.editor.new.category"
893 name="-- New Entity">
894 </category>
895 <command
896 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
897 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
898 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
899 name="New Reference">
900 </command>
901 <command
902 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
903 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
904 id="eu.etaxonomy.taxeditor.editor.command.new.name"
905 name="New Name">
906 </command>
907 <command
908 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
909 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
910 id="eu.etaxonomy.taxeditor.editor.command.new.team"
911 name="New Team">
912 </command>
913 <command
914 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
915 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
916 id="eu.etaxonomy.taxeditor.editor.command.new.person"
917 name="New Person">
918 </command>
919 <command
920 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
921 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
922 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
923 name="New Specimen">
924 </command>
925 <category
926 id="eu.etaxonomy.taxeditor.editor.key.category"
927 name="-- Polytomous Keys">
928 </category>
929 <command
930 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
931 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateNodeHandler"
932 id="eu.etaxonomy.taxeditor.key.polytomous.command.new"
933 name="New Node">
934 </command>
935 <command
936 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
937 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
938 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
939 name="Apply Layout">
940 </command>
941 <category
942 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
943 name="-- Concept Relations">
944 </category>
945 <command
946 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
947 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
948 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
949 name="Create Concept Relation">
950 </command>
951 <command
952 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
953 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
954 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
955 name="Open Related Concept">
956 </command>
957 </extension>
958 <extension
959 point="org.eclipse.core.expressions.definitions">
960 <definition
961 id="nameEditorActive">
962 <with
963 variable="activeEditorId">
964 <equals
965 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
966 </equals>
967 </with>
968 </definition>
969 <definition
970 id="isAcceptedTaxon">
971 <with
972 variable="selection">
973 <test
974 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
975 </test>
976 </with>
977 </definition>
978 <definition
979 id="isSynonym">
980 <with
981 variable="selection">
982 <test
983 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
984 </test>
985 </with>
986 </definition>
987 <definition
988 id="isMisapplication">
989 <with
990 variable="selection">
991 <test
992 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
993 </test>
994 </with>
995 </definition>
996 <definition
997 id="isTaxonBase">
998 <with
999 variable="selection">
1000 <test
1001 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1002 </test>
1003 </with>
1004 </definition>
1005 <definition
1006 id="hasEmptyNames">
1007 <with
1008 variable="selection">
1009 <test
1010 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1011 </test>
1012 </with>
1013 </definition>
1014 <definition
1015 id="isDeletable">
1016 <with
1017 variable="selection">
1018 <test
1019 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1020 </test>
1021 </with>
1022 </definition>
1023 <definition
1024 id="isMedia">
1025 <with
1026 variable="selection">
1027 <test
1028 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1029 </test>
1030 </with>
1031 </definition>
1032 <definition
1033 id="isDescription">
1034 <with
1035 variable="selection">
1036 <test
1037 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1038 </test>
1039 </with>
1040 </definition>
1041 <definition
1042 id="isDescriptionElement">
1043 <with
1044 variable="selection">
1045 <test
1046 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1047 </test>
1048 </with>
1049 </definition>
1050 <definition
1051 id="isFeatureNodeContainer">
1052 <with
1053 variable="selection">
1054 <test
1055 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1056 </test>
1057 </with>
1058 </definition>
1059 <definition
1060 id="isImageGallery">
1061 <with
1062 variable="selection">
1063 <test
1064 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1065 </test>
1066 </with>
1067 </definition>
1068 <definition
1069 id="isAcceptedAndHasNoHomotypicSynonyms">
1070 <with
1071 variable="selection">
1072 <test
1073 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1074 </test>
1075 </with>
1076 </definition>
1077 </extension>
1078 <extension
1079 point="org.eclipse.core.expressions.propertyTesters">
1080 <propertyTester
1081 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1082 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1083 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1084 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1085 type="org.eclipse.jface.viewers.IStructuredSelection">
1086 </propertyTester>
1087 <propertyTester
1088 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1089 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1090 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1091 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery"
1092 type="org.eclipse.jface.viewers.TreeSelection">
1093 </propertyTester>
1094 </extension>
1095 <extension
1096 point="org.eclipse.ui.bindings">
1097 <scheme
1098 description="The default key binding scheme for the Taxonomic Editor"
1099 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1100 name="Taxonomic Editor Default Key Bindings">
1101 </scheme>
1102 </extension>
1103 </plugin>