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