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