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