81dfc07090318dad55b0fea3b64afd9ac4719bf4
[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 <or>
588 <equals
589 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
590 </equals>
591 <equals
592 value="eu.etaxonomy.taxeditor.editor.view.media">
593 </equals>
594 </or>
595 </with>
596 </activeWhen>
597 </handler>
598 <handler
599 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
600 commandId="org.eclipse.ui.edit.delete">
601 <activeWhen>
602 <with
603 variable="activePartId">
604 <equals
605 value="eu.etaxonomy.taxeditor.editor.key">
606 </equals>
607 </with>
608 </activeWhen>
609 </handler>
610 <handler
611 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
612 commandId="org.eclipse.ui.edit.delete">
613 <activeWhen>
614 <with
615 variable="activePartId">
616 <equals
617 value="eu.etaxonomy.taxeditor.editor.view.concept">
618 </equals>
619 </with>
620 </activeWhen>
621 </handler>
622 </extension>
623 <extension
624 name="Name Commands"
625 point="org.eclipse.ui.commands">
626 <category
627 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
628 name="-- Name Editor">
629 </category>
630 <command
631 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
632 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
633 id="eu.etaxonomy.taxeditor.editor.command.openParent"
634 name="Open Parent">
635 </command>
636 <command
637 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
638 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
639 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
640 name="Create Homotypic Synonym">
641 </command>
642 <command
643 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
644 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
645 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
646 name="Create Heterotypic Synonym">
647 </command>
648 <command
649 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
650 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
651 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
652 name="Create Synonym In Homotypical Group">
653 </command>
654 <command
655 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
656 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
657 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
658 name="Create Misapplication">
659 </command>
660 <!--command
661 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
662 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
663 name="Move Taxon">
664 </command-->
665 <command
666 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
667 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
668 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
669 name="Change To Synonym">
670 </command>
671 <command
672 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
673 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
674 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
675 name="Change To Accepted Taxon">
676 </command>
677 <command
678 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
679 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
680 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
681 name="Change To Misapplication">
682 </command>
683 <command
684 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
685 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
686 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
687 name="Swap Synonym With Accepted">
688 </command>
689 <command
690 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
691 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
692 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
693 name="Set Basionym / Original Combination">
694 </command>
695 <command
696 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
697 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
698 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
699 name="Remove Basionym / Original Combination">
700 </command>
701 <command
702 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
703 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
704 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
705 name="Change Accepted Taxon to Synonym">
706 </command>
707 <command
708 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
709 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
710 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
711 name="Delete All Empty Names">
712 </command>
713 <category
714 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
715 name="-- Descriptive">
716 </category>
717 <command
718 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
719 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
720 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
721 name="Create Description Element">
722 </command>
723 <command
724 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
725 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
726 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
727 name="New Description">
728 </command>
729 <command
730 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
731 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
732 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
733 name="Move Description Elements">
734 </command>
735 <category
736 id="eu.etaxonomy.taxeditor.editor.media.category"
737 name="-- Media">
738 </category>
739 <command
740 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
741 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
742 id="taxeditor-editor.command.moveimgdown"
743 name="Move Image Down In List">
744 </command>
745 <command
746 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
747 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
748 id="taxeditor-editor.command.newimagegallery"
749 name="New Image Gallery">
750 </command>
751 <command
752 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
753 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
754 id="taxeditor-editor.newimage"
755 name="New Image">
756 </command>
757 <command
758 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
759 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
760 id="taxeditor-editor.command.moveimgup"
761 name="Move Image Up In List">
762 </command>
763 <category
764 id="eu.etaxonomy.taxeditor.editor.new.category"
765 name="-- New Entity">
766 </category>
767 <command
768 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
769 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
770 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
771 name="New Reference">
772 </command>
773 <command
774 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
775 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
776 id="eu.etaxonomy.taxeditor.editor.command.new.name"
777 name="New Name">
778 </command>
779 <command
780 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
781 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
782 id="eu.etaxonomy.taxeditor.editor.command.new.team"
783 name="New Team">
784 </command>
785 <command
786 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
787 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
788 id="eu.etaxonomy.taxeditor.editor.command.new.person"
789 name="New Person">
790 </command>
791 <command
792 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
793 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
794 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
795 name="New Specimen">
796 </command>
797 <category
798 id="eu.etaxonomy.taxeditor.editor.key.category"
799 name="-- Polytomous Keys">
800 </category>
801 <command
802 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
803 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateNodeHandler"
804 id="eu.etaxonomy.taxeditor.key.polytomous.command.new"
805 name="New Node">
806 </command>
807 <command
808 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
809 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
810 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
811 name="Apply Layout">
812 </command>
813 <category
814 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
815 name="-- Concept Relations">
816 </category>
817 <command
818 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
819 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
820 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
821 name="Create Concept Relation">
822 </command>
823 <command
824 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
825 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
826 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
827 name="Open Related Concept">
828 </command>
829 </extension>
830 <extension
831 point="org.eclipse.core.expressions.definitions">
832 <definition
833 id="nameEditorActive">
834 <with
835 variable="activeEditorId">
836 <equals
837 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
838 </equals>
839 </with>
840 </definition>
841 <definition
842 id="isAcceptedTaxon">
843 <with
844 variable="selection">
845 <test
846 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
847 </test>
848 </with>
849 </definition>
850 <definition
851 id="isSynonym">
852 <with
853 variable="selection">
854 <test
855 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
856 </test>
857 </with>
858 </definition>
859 <definition
860 id="isMisapplication">
861 <with
862 variable="selection">
863 <test
864 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
865 </test>
866 </with>
867 </definition>
868 <definition
869 id="isTaxonBase">
870 <with
871 variable="selection">
872 <test
873 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
874 </test>
875 </with>
876 </definition>
877 <definition
878 id="hasEmptyNames">
879 <with
880 variable="selection">
881 <test
882 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
883 </test>
884 </with>
885 </definition>
886 <definition
887 id="isDeletable">
888 <with
889 variable="selection">
890 <test
891 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
892 </test>
893 </with>
894 </definition>
895 <definition
896 id="isMedia">
897 <with
898 variable="selection">
899 <test
900 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
901 </test>
902 </with>
903 </definition>
904 <definition
905 id="isDescription">
906 <with
907 variable="selection">
908 <test
909 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
910 </test>
911 </with>
912 </definition>
913 <definition
914 id="isDescriptionElement">
915 <with
916 variable="selection">
917 <test
918 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
919 </test>
920 </with>
921 </definition>
922 <definition
923 id="isFeatureNodeContainer">
924 <with
925 variable="selection">
926 <test
927 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
928 </test>
929 </with>
930 </definition>
931 <definition
932 id="isImageGallery">
933 <with
934 variable="selection">
935 <test
936 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
937 </test>
938 </with>
939 </definition>
940 </extension>
941 <extension
942 point="org.eclipse.core.expressions.propertyTesters">
943 <propertyTester
944 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
945 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
946 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
947 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames"
948 type="org.eclipse.jface.viewers.IStructuredSelection">
949 </propertyTester>
950 <propertyTester
951 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
952 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
953 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
954 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery"
955 type="org.eclipse.jface.viewers.TreeSelection">
956 </propertyTester>
957 </extension>
958 <extension
959 point="org.eclipse.ui.bindings">
960 <scheme
961 description="The default key binding scheme for the Taxonomic Editor"
962 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
963 name="Taxonomic Editor Default Key Bindings">
964 </scheme>
965 </extension>
966 </plugin>