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