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