Working on the polytomous key editor
[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 </command>
469 <command
470 commandId="taxeditor-editor.command.moveimgdown"
471 label="Move Image Up In List"
472 style="push">
473 <visibleWhen>
474 <reference
475 definitionId="isMedia">
476 </reference>
477 </visibleWhen>
478 </command>
479 <command
480 commandId="taxeditor-editor.command.moveimgup"
481 label="Move Image Down In List"
482 style="push">
483 <visibleWhen>
484 <reference
485 definitionId="isMedia">
486 </reference>
487 </visibleWhen>
488 </command>
489 <separator
490 name="taxeditor-editor.separator2"
491 visible="true">
492 </separator>
493 <command
494 commandId="org.eclipse.ui.edit.delete"
495 label="Delete"
496 style="push">
497 </command>
498 <command
499 commandId="org.eclipse.ui.file.save"
500 label="Save"
501 style="push">
502 </command>
503 </menuContribution>
504 <menuContribution
505 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
506 <menu
507 label="New">
508 <dynamic
509 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
510 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
511 </dynamic>
512 </menu>
513 <command
514 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
515 label="Open Related Concept"
516 style="push">
517 </command>
518 <separator
519 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
520 visible="true">
521 </separator>
522 <command
523 commandId="org.eclipse.ui.edit.delete"
524 label="Delete"
525 style="push">
526 </command>
527 </menuContribution>
528 </extension>
529 <extension
530 point="org.eclipse.ui.handlers">
531 <handler
532 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
533 commandId="org.eclipse.ui.window.newEditor">
534 <activeWhen>
535 <not>
536 <instanceof
537 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
538 </instanceof>
539 </not>
540 </activeWhen>
541 <enabledWhen>
542 <count
543 value="-1">
544 </count>
545 </enabledWhen>
546 </handler>
547 <handler
548 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
549 commandId="org.eclipse.ui.edit.delete">
550 <activeWhen>
551 <and>
552 <reference
553 definitionId="isTaxonBase">
554 </reference>
555 <not>
556 <reference
557 definitionId="isAcceptedTaxon">
558 </reference>
559 </not>
560 </and>
561 </activeWhen>
562 </handler>
563 <handler
564 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
565 commandId="org.eclipse.ui.edit.delete">
566 <activeWhen>
567 <with
568 variable="activePartId">
569 <equals
570 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
571 </equals>
572 </with>
573 </activeWhen>
574 </handler>
575 <handler
576 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
577 commandId="org.eclipse.ui.edit.delete">
578 <activeWhen>
579 <with
580 variable="activePartId">
581 <equals
582 value="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyEditor">
583 </equals>
584 </with>
585 </activeWhen>
586 </handler>
587 <handler
588 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
589 commandId="org.eclipse.ui.edit.delete">
590 <activeWhen>
591 <with
592 variable="activePartId">
593 <equals
594 value="eu.etaxonomy.taxeditor.editor.view.concept">
595 </equals>
596 </with>
597 </activeWhen>
598 </handler>
599 </extension>
600 <extension
601 name="Name Commands"
602 point="org.eclipse.ui.commands">
603 <category
604 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
605 name="-- Name Editor">
606 </category>
607 <command
608 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
609 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
610 id="eu.etaxonomy.taxeditor.editor.command.openParent"
611 name="Open Parent">
612 </command>
613 <command
614 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
615 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
616 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
617 name="Create Homotypic Synonym">
618 </command>
619 <command
620 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
621 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
622 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
623 name="Create Heterotypic Synonym">
624 </command>
625 <command
626 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
627 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
628 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
629 name="Create Synonym In Homotypical Group">
630 </command>
631 <command
632 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
633 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
634 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
635 name="Create Misapplication">
636 </command>
637 <!--command
638 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
639 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
640 name="Move Taxon">
641 </command-->
642 <command
643 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
644 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
645 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
646 name="Change To Synonym">
647 </command>
648 <command
649 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
650 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
651 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
652 name="Change To Accepted Taxon">
653 </command>
654 <command
655 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
656 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
657 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
658 name="Change To Misapplication">
659 </command>
660 <command
661 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
662 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
663 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
664 name="Swap Synonym With Accepted">
665 </command>
666 <command
667 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
668 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
669 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
670 name="Set Basionym / Original Combination">
671 </command>
672 <command
673 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
674 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
675 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
676 name="Remove Basionym / Original Combination">
677 </command>
678 <command
679 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
680 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
681 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
682 name="Change Accepted Taxon to Synonym">
683 </command>
684 <command
685 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
686 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
687 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
688 name="Delete All Empty Names">
689 </command>
690 <category
691 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
692 name="-- Descriptive">
693 </category>
694 <command
695 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
696 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
697 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
698 name="Create Description Element">
699 </command>
700 <command
701 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
702 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
703 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
704 name="New Description">
705 </command>
706 <command
707 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
708 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
709 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
710 name="Move Description Elements">
711 </command>
712 <category
713 id="eu.etaxonomy.taxeditor.editor.media.category"
714 name="-- Media">
715 </category>
716 <command
717 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
718 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
719 id="taxeditor-editor.command.moveimgdown"
720 name="Move Image Down In List">
721 </command>
722 <command
723 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
724 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
725 id="taxeditor-editor.command.newimagegallery"
726 name="New Image Gallery">
727 </command>
728 <command
729 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
730 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
731 id="taxeditor-editor.newimage"
732 name="New Image">
733 </command>
734 <command
735 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
736 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
737 id="taxeditor-editor.command.moveimgup"
738 name="Move Image Up In List">
739 </command>
740 <category
741 id="eu.etaxonomy.taxeditor.editor.new.category"
742 name="-- New Entity">
743 </category>
744 <command
745 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
746 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
747 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
748 name="New Reference">
749 </command>
750 <command
751 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
752 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
753 id="eu.etaxonomy.taxeditor.editor.command.new.name"
754 name="New Name">
755 </command>
756 <command
757 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
758 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
759 id="eu.etaxonomy.taxeditor.editor.command.new.team"
760 name="New Team">
761 </command>
762 <command
763 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
764 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
765 id="eu.etaxonomy.taxeditor.editor.command.new.person"
766 name="New Person">
767 </command>
768 <command
769 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
770 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
771 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
772 name="New Specimen">
773 </command>
774 <category
775 id="eu.etaxonomy.taxeditor.editor.key.category"
776 name="-- Polytomous Keys">
777 </category>
778 <command
779 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
780 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateNodeHandler"
781 id="eu.etaxonomy.taxeditor.key.polytomous.command.new"
782 name="New Node">
783 </command>
784 <command
785 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
786 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
787 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
788 name="Apply Layout">
789 </command>
790 <category
791 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
792 name="-- Concept Relations">
793 </category>
794 <command
795 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
796 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
797 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
798 name="Create Concept Relation">
799 </command>
800 <command
801 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
802 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
803 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
804 name="Open Related Concept">
805 </command>
806 </extension>
807 <extension
808 point="org.eclipse.core.expressions.definitions">
809 <definition
810 id="nameEditorActive">
811 <with
812 variable="activeEditorId">
813 <equals
814 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
815 </equals>
816 </with>
817 </definition>
818 <definition
819 id="isAcceptedTaxon">
820 <with
821 variable="selection">
822 <test
823 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
824 </test>
825 </with>
826 </definition>
827 <definition
828 id="isSynonym">
829 <with
830 variable="selection">
831 <test
832 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
833 </test>
834 </with>
835 </definition>
836 <definition
837 id="isMisapplication">
838 <with
839 variable="selection">
840 <test
841 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
842 </test>
843 </with>
844 </definition>
845 <definition
846 id="isTaxonBase">
847 <with
848 variable="selection">
849 <test
850 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
851 </test>
852 </with>
853 </definition>
854 <definition
855 id="hasEmptyNames">
856 <with
857 variable="selection">
858 <test
859 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
860 </test>
861 </with>
862 </definition>
863 <definition
864 id="isDeletable">
865 <with
866 variable="selection">
867 <test
868 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
869 </test>
870 </with>
871 </definition>
872 <definition
873 id="isMedia">
874 <with
875 variable="selection">
876 <test
877 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
878 </test>
879 </with>
880 </definition>
881 <definition
882 id="isDescription">
883 <with
884 variable="selection">
885 <test
886 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
887 </test>
888 </with>
889 </definition>
890 <definition
891 id="isDescriptionElement">
892 <with
893 variable="selection">
894 <test
895 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
896 </test>
897 </with>
898 </definition>
899 <definition
900 id="isFeatureNodeContainer">
901 <with
902 variable="selection">
903 <test
904 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
905 </test>
906 </with>
907 </definition>
908 </extension>
909 <extension
910 point="org.eclipse.core.expressions.propertyTesters">
911 <propertyTester
912 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
913 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
914 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
915 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames"
916 type="org.eclipse.jface.viewers.IStructuredSelection">
917 </propertyTester>
918 <propertyTester
919 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
920 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
921 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
922 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer"
923 type="org.eclipse.jface.viewers.TreeSelection">
924 </propertyTester>
925 </extension>
926 <extension
927 point="org.eclipse.ui.bindings">
928 <scheme
929 description="The default key binding scheme for the Taxonomic Editor"
930 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
931 name="Taxonomic Editor Default Key Bindings">
932 </scheme>
933 </extension>
934 </plugin>