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