removed old projects
[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.ui.editors">
15 <editor
16 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17 icon="icons/edit_16x16.gif"
18 id="eu.etaxonomy.taxeditor.editor.multipagetaxonview"
19 name="Multitabbed Taxon Editor">
20 </editor>
21 <editor
22 class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
23 default="false"
24 id="eu.etaxonomy.taxeditor.taxonNameEditor"
25 name="Taxon Name Editor">
26 </editor>
27 <editor
28 class="eu.etaxonomy.taxeditor.editor.descriptiontree.TaxonDescriptionTreeEditor"
29 default="false"
30 id="eu.etaxonomy.taxeditor.descriptiontreeeditor"
31 name="Taxon Description Editor">
32 </editor>
33 <editor
34 class="eu.etaxonomy.taxeditor.editor.images.TaxonImageEditor"
35 default="false"
36 id="eu.etaxonomy.taxeditor.taxonImageEditor"
37 name="Taxon Image Editor">
38 </editor>
39 </extension>
40 <extension
41 point="org.eclipse.ui.menus">
42 <menuContribution
43 locationURI="popup:eu.etaxonomy.taxeditor.taxonNameEditor">
44 <menu
45 label="New">
46 <command
47 commandId="eu.etaxonomy.taxeditor.editor.name.createChildTaxon"
48 label="Child Taxon"
49 style="push">
50 <visibleWhen>
51 <reference
52 definitionId="isAcceptedTaxon">
53 </reference>
54 </visibleWhen>
55 </command>
56 <command
57 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
58 label="Heterotypic Synonym"
59 style="push">
60 <visibleWhen>
61 <reference
62 definitionId="isAcceptedTaxon">
63 </reference>
64 </visibleWhen>
65 </command>
66 <command
67 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
68 label="Homotypic Synonym"
69 style="push">
70 <visibleWhen>
71 <reference
72 definitionId="isAcceptedTaxon">
73 </reference>
74 </visibleWhen>
75 </command>
76 <command
77 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
78 label="Synonym In Homotypical Group"
79 style="push">
80 <visibleWhen>
81 <reference
82 definitionId="isSynonym">
83 </reference>
84 </visibleWhen>
85 </command>
86 <separator
87 name="separator1"
88 visible="true">
89 </separator>
90 <menu
91 label="Concept Relation">
92 <visibleWhen>
93 <and>
94 <not>
95 <reference
96 definitionId="isSynonym">
97 </reference>
98 </not>
99 <not>
100 <reference
101 definitionId="isMisapplication">
102 </reference></not>
103 </and>
104 </visibleWhen>
105 <dynamic
106 class="eu.etaxonomy.taxeditor.editor.name.handler.CreateConceptRelationMenu"
107 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
108 </dynamic>
109 </menu>
110 <command
111 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
112 label="Misapplication"
113 style="push">
114 <visibleWhen>
115 <and>
116 <not>
117 <reference
118 definitionId="isSynonym">
119 </reference>
120 </not>
121 <not>
122 <reference
123 definitionId="isConceptRelation">
124 </reference>
125 </not>
126 </and>
127 </visibleWhen>
128 </command>
129 </menu>
130 <command
131 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
132 label="Change Accepted Taxon to Synonym"
133 style="push">
134 <visibleWhen>
135 <reference
136 definitionId="isAcceptedTaxon">
137 </reference>
138 </visibleWhen>
139 </command>
140 <menu
141 label="Change To">
142 <command
143 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
144 label="Accepted Taxon"
145 style="push">
146 <visibleWhen>
147 <not>
148 <or>
149 <reference
150 definitionId="isAcceptedTaxon">
151 </reference>
152 <reference
153 definitionId="isConceptRelation">
154 </reference>
155 <reference
156 definitionId="isMisapplication">
157 </reference>
158 </or>
159 </not>
160 </visibleWhen>
161 </command>
162 <command
163 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
164 label="Synonym"
165 style="push">
166 <visibleWhen>
167 <not>
168 <or>
169 <reference
170 definitionId="isAcceptedTaxon">
171 </reference>
172 <reference
173 definitionId="isSynonym">
174 </reference>
175 </or>
176 </not>
177 </visibleWhen>
178 </command>
179 <menu
180 label="Concept Relation">
181 <visibleWhen>
182 <not>
183 <or>
184 <reference
185 definitionId="isAcceptedTaxon">
186 </reference>
187 <reference
188 definitionId="isConceptRelation">
189 </reference>
190 </or>
191 </not>
192 </visibleWhen>
193 <dynamic
194 class="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToConceptRelationMenu"
195 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
196 </dynamic>
197 </menu>
198 <command
199 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
200 label="Misapplication"
201 style="push">
202 <visibleWhen>
203 <not>
204 <or>
205 <reference
206 definitionId="isAcceptedTaxon">
207 </reference>
208 <reference
209 definitionId="isMisapplication">
210 </reference>
211 </or>
212 </not>
213 </visibleWhen>
214 </command>
215 </menu>
216 <menu
217 label="Change Relation Type">
218 <visibleWhen>
219 <reference
220 definitionId="isConceptRelation">
221 </reference>
222 </visibleWhen>
223 <dynamic
224 class="eu.etaxonomy.taxeditor.editor.name.handler.ChangeConceptRelationshipTypeMenu"
225 id="eu.etaxonomy.taxeditor.editor.dynamicConceptRelationMenu">
226 </dynamic>
227 </menu>
228 <separator
229 name="taxeditor-editor.separator1"
230 visible="true">
231 </separator>
232 <command
233 xcommandId="eu.etaxonomy.taxeditor.editor.name.deleteTaxonBase"
234 commandId="org.eclipse.ui.edit.delete"
235 label="Delete"
236 style="push">
237 <visibleWhen>
238 <not>
239 <reference
240 definitionId="isAcceptedTaxon">
241 </reference>
242 </not>
243 </visibleWhen>
244 </command>
245 <separator
246 name="taxeditor-editor.separator2"
247 visible="true">
248 </separator>
249 <dynamic
250 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
251 id="taxeditor-editor.dynamic.setBasionym">
252 <visibleWhen>
253 <reference
254 definitionId="isSynonym">
255 </reference>
256 </visibleWhen>
257 </dynamic>
258 <command
259 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
260 label="Swap Synonym With Accepted"
261 style="push">
262 <visibleWhen>
263 <reference
264 definitionId="isSynonym">
265 </reference>
266 </visibleWhen>
267 </command>
268 <separator
269 name="taxeditor-editor.separator3"
270 visible="true">
271 </separator>
272 <command
273 commandId="org.eclipse.ui.file.save"
274 label="Save"
275 style="push">
276 </command>
277 </menuContribution>
278 <menuContribution
279 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView">
280 <command
281 commandId="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
282 label="Property Sheet"
283 style="push">
284 </command>
285 <command
286 commandId="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
287 label="Tabbed Properties"
288 style="push">
289 </command>
290 <!--command
291 commandId="eu.etaxonomy.taxeditor.editor.commands.showNameRelationsView"
292 label="Name Relations"
293 style="push">
294 </command-->
295 </menuContribution>
296 <menuContribution
297 locationURI="menu:org.eclipse.ui.main.menu.navigate">
298 <menu
299 id="menu:org.eclipse.ui.main.menu.navigate.goto"
300 label="Go To">
301 <command
302 commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
303 label="Previous Member"
304 style="push">
305 </command>
306 <command
307 commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
308 label="Next Member"
309 style="push">
310 </command>
311 </menu>
312 <separator
313 name="taxeditor-editor.separator1"
314 visible="true">
315 </separator>
316 <command
317 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
318 label="Open Parent"
319 style="push">
320 </command>
321 </menuContribution>
322 </extension>
323 <extension
324 point="org.eclipse.ui.handlers">
325 <handler
326 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
327 commandId="org.eclipse.ui.edit.delete">
328 <activeWhen>
329 <reference
330 definitionId="isSelectionNonAcceptedTaxonName">
331 </reference>
332 </activeWhen>
333 </handler>
334 <handler
335 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
336 commandId="org.eclipse.ui.window.newEditor">
337 <activeWhen>
338 <not>
339 <instanceof
340 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
341 </instanceof>
342 </not>
343 </activeWhen>
344 <enabledWhen>
345 <count
346 value="-1">
347 </count>
348 </enabledWhen>
349 </handler>
350 <!--handler
351 class="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
352 commandId="org.eclipse.ui.file.save">
353 </handler>
354 <handler
355 class="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
356 commandId="org.eclipse.ui.file.saveAll">
357 </handler-->
358 </extension>
359 <extension
360 name="File Menu Commands"
361 point="org.eclipse.ui.commands">
362 <command
363 categoryId="org.eclipse.ui.category.file"
364 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.EditNewTaxonHandler"
365 id="eu.etaxonomy.taxeditor.editor.newTaxon"
366 name="New Taxon">
367 </command>
368 <!--command
369 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
370 id="eu.etaxonomy.taxeditor.editor.saveTaxon"
371 name="Save">
372 </command>
373 <command
374 categoryId="org.eclipse.ui.category.file"
375 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
376 id="eu.etaxonomy.taxeditor.editor.saveAll"
377 name="Save All">
378 </command-->
379 </extension>
380 <extension
381 point="org.eclipse.core.expressions.definitions">
382 <definition
383 id="nameEditorActive">
384 <with
385 variable="activeEditorId">
386 <equals
387 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
388 </equals>
389 </with>
390 </definition>
391 <definition
392 id="isAcceptedTaxon">
393 <with
394 variable="activeMenuSelection">
395 <iterate>
396 <instanceof
397 value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
398 </instanceof>
399 </iterate>
400 </with>
401 </definition>
402 <definition
403 id="isSynonym">
404 <with
405 variable="activeMenuSelection">
406 <iterate>
407 <instanceof
408 value="eu.etaxonomy.taxeditor.propertysheet.name.SynonymPropertySource">
409 </instanceof>
410 </iterate>
411 </with>
412 </definition>
413 <definition
414 id="isMisapplication">
415 <with
416 variable="activeMenuSelection">
417 <iterate>
418 <instanceof
419 value="eu.etaxonomy.taxeditor.propertysheet.name.MisapplicationPropertySource">
420 </instanceof>
421 </iterate>
422 </with>
423 </definition>
424 <definition
425 id="isConceptRelation">
426 <with
427 variable="activeMenuSelection">
428 <iterate>
429 <instanceof
430 value="eu.etaxonomy.taxeditor.propertysheet.name.ConceptPropertySource">
431 </instanceof>
432 </iterate>
433 </with>
434 </definition>
435 <definition
436 id="isCdmObject">
437 <with
438 variable="activeMenuSelection">
439 <iterate>
440 <instanceof
441 value="eu.etaxonomy.taxeditor.propertysheet.ICdmBasePropertySource">
442 </instanceof>
443 </iterate>
444 </with>
445 </definition>
446 <definition
447 id="isSelectionNonAcceptedTaxonName">
448 <with
449 variable="selection">
450 <and>
451 <not>
452 <iterate>
453 <instanceof
454 value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
455 </instanceof>
456 </iterate>
457 </not>
458 <iterate>
459 <instanceof
460 value="eu.etaxonomy.taxeditor.propertysheet.name.TaxonBasePropertySource">
461 </instanceof>
462 </iterate>
463 </and>
464 </with>
465 </definition>
466 </extension>
467 <extension
468 name="Name Commands"
469 point="org.eclipse.ui.commands">
470 <category
471 id="eu.etaxonomy.taxeditor.editor.synonymCategory"
472 name="Synonym Category">
473 </category>
474 <command
475 categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
476 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
477 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
478 name="Create Homotypic Synonym">
479 </command>
480 <command
481 categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
482 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
483 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
484 name="Create Heterotypic Synonym">
485 </command>
486 <command
487 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
488 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
489 name="Create Synonym In Homotypical Group">
490 </command>
491 <command
492 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateConceptRelationHandler"
493 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
494 name="Create Concept Relation">
495 </command>
496 <command
497 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
498 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
499 name="Create Misapplication">
500 </command>
501 <command
502 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
503 id="eu.etaxonomy.taxeditor.editor.name.deleteTaxonBase"
504 name="Delete Taxon Base">
505 </command>
506 <!--command
507 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
508 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
509 name="Move Taxon">
510 </command-->
511 <command
512 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.CreateChildTaxonHandler"
513 id="eu.etaxonomy.taxeditor.editor.name.createChildTaxon"
514 name="Create Child Taxon">
515 </command>
516 <command
517 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
518 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
519 name="Change To Synonym">
520 </command>
521 <command
522 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
523 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
524 name="Change To Accepted Taxon">
525 </command>
526 <command
527 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToConceptRelationHandler"
528 id="eu.etaxonomy.taxeditor.editor.name.changeToConceptRelation"
529 name="Change To Concept Relation">
530 </command>
531 <command
532 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
533 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
534 name="Change To Misapplication">
535 </command>
536 <command
537 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeConceptRelationshipTypeHandler"
538 id="eu.etaxonomy.taxeditor.editor.name.changeConceptRelationshipType"
539 name="Change Concept Relationship Type">
540 </command>
541 <command
542 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
543 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
544 name="Swap Synonym With Accepted">
545 </command>
546 <command
547 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
548 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
549 name="Set Basionym / Original Combination">
550 </command>
551 <command
552 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
553 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
554 name="Remove Basionym / Original Combination">
555 </command>
556 <command
557 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
558 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
559 name="Change Accepted Taxon to Synonym">
560 </command>
561 </extension>
562 <extension
563 point="org.eclipse.ui.commands">
564 <command
565 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowPropertySheetHandler"
566 id="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
567 name="Show Property Sheet">
568 </command>
569 </extension>
570 <extension
571 point="org.eclipse.ui.commands">
572 <command
573 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.PreviousMemberHandler"
574 id="eu.etaxonomy.taxeditor.editor.command.previousMember"
575 name="Previous Member">
576 </command>
577 <command
578 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.NextMemberHandler"
579 id="eu.etaxonomy.taxeditor.editor.command.nextMember"
580 name="Next Member">
581 </command>
582 <command
583 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
584 id="eu.etaxonomy.taxeditor.editor.command.openParent"
585 name="Open Parent">
586 </command>
587 </extension>
588 <extension
589 point="org.eclipse.ui.commands">
590 <command
591 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowTabbedPropertiesViewHandler"
592 id="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
593 name="Tabbed Properties">
594 </command>
595 </extension>
596 <extension
597 point="org.eclipse.ui.elementFactories">
598 <factory
599 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
600 id="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory">
601 </factory>
602 </extension>
603 <extension
604 point="org.eclipse.ui.perspectiveExtensions">
605 <perspectiveExtension
606 targetID="eu.etaxonomy.taxeditor.application.perspective">
607 <view
608 closeable="true"
609 id="org.eclipse.ui.views.PropertySheet"
610 minimized="false"
611 moveable="true"
612 ratio="0.7"
613 relationship="right"
614 relative="org.eclipse.ui.editorss"
615 showTitle="false"
616 visible="true">
617 </view>
618 </perspectiveExtension>
619 </extension>
620 <extension
621 point="org.eclipse.ui.bindings">
622 <key
623 commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
624 contextId="org.eclipse.ui.contexts.window"
625 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
626 sequence="M2+M3+ARROW_DOWN">
627 </key>
628 <key
629 commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
630 contextId="org.eclipse.ui.contexts.window"
631 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
632 sequence="M2+M3+ARROW_UP">
633 </key>
634 <scheme
635 description="The default key binding scheme for the Taxonomic Editor"
636 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
637 name="Taxonomic Editor Default Key Bindings">
638 </scheme>
639 </extension>
640 <extension
641 point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
642 <propertyContributor
643 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor"
644 labelProvider="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyPageLabelProvider"
645 typeMapper="eu.etaxonomy.taxeditor.propertysheet.tabbed.TaxonTypeMapper">
646 <propertyCategory
647 category="taxonBase"></propertyCategory>
648 </propertyContributor>
649 </extension>
650 <extension
651 point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
652 <propertyTabs
653 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
654 <propertyTab
655 category="taxonBase"
656 id="taxonNameEditor.nameTab"
657 label="Name">
658 </propertyTab>
659 <propertyTab
660 afterTab="taxonNameEditor.nomRefTab"
661 category="taxonBase"
662 id="taxonNameEditor.nameRelationsTab"
663 label="Name Relations">
664 </propertyTab>
665 <propertyTab
666 afterTab="taxonNameEditor.nameRelationsfTab"
667 category="taxonBase"
668 id="taxonNameEditor.secundumTab"
669 label="Secundum">
670 </propertyTab>
671 <propertyTab
672 afterTab="taxonNameEditor.secundumTab"
673 category="taxonBase"
674 id="taxonNameEditor.annotationsTab"
675 label="Annotations">
676 </propertyTab>
677 <propertyTab
678 afterTab="taxonNameEditor.annotationsTab"
679 category="taxonBase"
680 id="taxonNameEditor.generalTab"
681 label="General">
682 </propertyTab>
683 </propertyTabs>
684 </extension>
685 <extension
686 point="org.eclipse.ui.views.properties.tabbed.propertySections">
687 <propertySections
688 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
689 <propertySection
690 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameOverviewSection"
691 id="taxonNameEditor.overview.name"
692 tab="taxonNameEditor.nameTab">
693 <input
694 type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
695 </input>
696 <input
697 type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
698 </input>
699 </propertySection>
700 <propertySection
701 afterSection="taxonNameEditor.overview.name"
702 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NamePropertySection"
703 id="taxonNameEditor.nameSection"
704 tab="taxonNameEditor.nameTab">
705 <input
706 type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
707 </input>
708 <input
709 type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
710 </input>
711 </propertySection>
712 <!--propertySection
713 afterSection="taxonNameEditor.nameSection"
714 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AuthorSection"
715 id="taxonNameEditor.authorSection"
716 tab="taxonNameEditor.nameTab">
717 <input
718 type="eu.etaxonomy.cdm.model.taxon.Taxon">
719 </input>
720 <input
721 type="eu.etaxonomy.cdm.model.taxon.Synonym">
722 </input>
723 </propertySection>
724 <propertySection
725 afterSection="taxonNameEditor.authorSection"
726 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NomRefPropertySection"
727 id="taxonNameEditor.nomRefSection"
728 tab="taxonNameEditor.nameTab">
729 <input
730 type="eu.etaxonomy.cdm.model.taxon.Taxon">
731 </input>
732 <input
733 type="eu.etaxonomy.cdm.model.taxon.Synonym">
734 </input>
735 </propertySection-->
736 <propertySection
737 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.CreatedSection"
738 id="taxonNameEditor.createdSection"
739 tab="taxonNameEditor.generalTab">
740 <input
741 type="eu.etaxonomy.cdm.model.taxon.Taxon">
742 </input>
743 <input
744 type="eu.etaxonomy.cdm.model.taxon.Synonym">
745 </input>
746 </propertySection>
747 <propertySection
748 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AnnotationSection"
749 id="taxonNameEditor.annotationSection"
750 tab="taxonNameEditor.annotationsTab">
751 <input
752 type="eu.etaxonomy.cdm.model.taxon.Taxon">
753 </input>
754 <input
755 type="eu.etaxonomy.cdm.model.taxon.Synonym">
756 </input>
757 </propertySection>
758 <propertySection
759 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameRelationsSection"
760 id="taxonNameEditor.nameRelationSection"
761 tab="taxonNameEditor.nameRelationsTab">
762 <input
763 type="eu.etaxonomy.cdm.model.taxon.Taxon">
764 </input>
765 <input
766 type="eu.etaxonomy.cdm.model.taxon.Synonym">
767 </input>
768 </propertySection>
769 <propertySection
770 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.SecundumSection"
771 id="taxonNameEditor.secundumSection"
772 tab="taxonNameEditor.secundumTab">
773 <input
774 type="eu.etaxonomy.cdm.model.taxon.Taxon">
775 </input>
776 <input
777 type="eu.etaxonomy.cdm.model.taxon.Synonym">
778 </input>
779 </propertySection>
780 </propertySections>
781 </extension>
782 <extension
783 point="org.eclipse.core.runtime.adapters">
784 <factory
785 adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
786 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
787 <adapter
788 type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
789 </adapter>
790 </factory>
791 </extension>
792 <extension
793 point="org.eclipse.ui.menus">
794 <menuContribution
795 locationURI="popup:eu.etaxonomy.taxeditor.descriptiontreeeditor">
796 <command
797 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
798 label="New Description"
799 style="push">
800 </command>
801 <command
802 commandId="taxeditor-editor.command.newimagegallery"
803 label="New Image Gallery"
804 style="push">
805 </command>
806 <separator
807 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
808 visible="true">
809 </separator>
810 <command
811 commandId="taxeditor-editor.neworderedimagelist"
812 label="New Ordered Image List"
813 style="push">
814 <visibleWhen>
815 <reference
816 definitionId="isInImageGallery">
817 </reference>
818 </visibleWhen>
819 </command>
820 <command
821 commandId="taxeditor-editor.newimage"
822 label="New Image"
823 style="push">
824 <visibleWhen>
825 <reference
826 definitionId="isInImageList">
827 </reference>
828 </visibleWhen>
829 </command>
830 <menu
831 label="New">
832 <dynamic
833 class="eu.etaxonomy.taxeditor.editor.descriptiontree.DynamicFeatureMenu"
834 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
835 </dynamic>
836 <visibleWhen>
837 <reference
838 definitionId="isInDescription">
839 </reference>
840 </visibleWhen>
841 </menu>
842 <separator
843 name="taxeditor-editor.separator1"
844 visible="true">
845 </separator>
846 <command
847 commandId="taxeditor-editor.command.moveimgup"
848 label="Move Image Up In List"
849 style="push">
850 <visibleWhen>
851 <reference
852 definitionId="isImage">
853 </reference>
854 </visibleWhen>
855 </command>
856 <command
857 commandId="taxeditor-editor.command.moveimgdown"
858 label="Move Image Down In List"
859 style="push">
860 <visibleWhen>
861 <reference
862 definitionId="isImage">
863 </reference>
864 </visibleWhen>
865 </command>
866 <separator
867 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
868 visible="true">
869 </separator>
870 <command
871 commandId="eu.etaxonomy.taxeditor.description.commands.deletedescription"
872 label="Delete Description"
873 style="push">
874 <visibleWhen>
875 <reference
876 definitionId="isInDescription">
877 </reference>
878 </visibleWhen>
879 </command>
880 <command
881 commandId="taxeditor-editor.command.deleteImageGallery"
882 label="Delete Image Gallery"
883 style="push">
884 <visibleWhen>
885 <reference
886 definitionId="isInImageGallery">
887 </reference>
888 </visibleWhen>
889 </command>
890 <command
891 commandId="taxeditor-editor.command.deleteImage"
892 label="Delete Image"
893 style="push">
894 <visibleWhen>
895 <reference
896 definitionId="isImage">
897 </reference>
898 </visibleWhen>
899 </command>
900 <command
901 commandId="eu.etaxonomy.taxeditor.editor.name.deleteDescriptionElement"
902 label="Delete"
903 style="push">
904 <visibleWhen>
905 <reference
906 definitionId="isNonImageElement">
907 </reference>
908 </visibleWhen>
909 </command>
910 <separator
911 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
912 visible="true">
913 </separator>
914 <command
915 commandId="org.eclipse.ui.file.save"
916 label="Save"
917 style="push">
918 </command>
919 </menuContribution>
920 </extension>
921 <extension
922 point="org.eclipse.ui.commands">
923 <command
924 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.CreateDescriptionElementHandler"
925 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
926 name="Create Description Element">
927 </command>
928 <command
929 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteDescriptionElementHandler"
930 id="eu.etaxonomy.taxeditor.editor.name.deleteDescriptionElement"
931 name="Delete Description Element">
932 </command>
933 <command
934 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.AddDescriptionHandler"
935 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
936 name="New Description">
937 </command>
938 <command
939 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteDescriptionHandler"
940 id="eu.etaxonomy.taxeditor.description.commands.deletedescription"
941 name="Delete Description">
942 </command>
943 <command
944 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.AddImageGalleryHandler"
945 id="taxeditor-editor.command.newimagegallery"
946 name="New Image Gallery">
947 </command>
948 <command
949 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteDescriptionHandler"
950 id="taxeditor-editor.command.deleteImageGallery"
951 name="Delete Image Gallery">
952 </command>
953 <command
954 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.CreateImageListHandler"
955 id="taxeditor-editor.neworderedimagelist"
956 name="New Ordered Image List">
957 </command>
958 <command
959 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.CreateImageHandler"
960 id="taxeditor-editor.newimage"
961 name="New Image">
962 </command>
963 <command
964 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.MoveImageDownInListHandler"
965 id="taxeditor-editor.command.moveimgdown"
966 name="Move Image Down In List">
967 </command>
968 <command
969 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.MoveImageUpInListHandler"
970 id="taxeditor-editor.command.moveimgup"
971 name="Move Image Up In List">
972 </command>
973 <command
974 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteImageHandler"
975 id="taxeditor-editor.command.deleteImage"
976 name="Delete Image">
977 </command>
978 </extension>
979 <extension
980 point="org.eclipse.core.expressions.definitions">
981 <definition
982 id="isEmptySelection">
983 <with
984 variable="activeMenuSelection">
985 <count
986 value="0">
987 </count>
988 </with>
989 </definition>
990 <definition
991 id="isInImageGallery">
992 <with
993 variable="activeMenuSelection">
994 <test
995 property="taxeditor-editor.descriptions.propertyTester.isInImageGallery">
996 </test>
997 </with>
998 </definition>
999 <definition
1000 id="isInImageList">
1001 <with
1002 variable="activeMenuSelection">
1003 <test
1004 property="taxeditor-editor.descriptions.propertyTester.isInImageList">
1005 </test>
1006 </with>
1007 </definition>
1008 <definition
1009 id="isImage">
1010 <with
1011 variable="activeMenuSelection">
1012 <test
1013 property="taxeditor-editor.descriptions.propertyTester.isImage">
1014 </test>
1015 </with>
1016 </definition>
1017 <definition
1018 id="isInDescription">
1019 <with
1020 variable="activeMenuSelection">
1021 <test
1022 property="taxeditor-editor.descriptions.propertyTester.isInDescription">
1023 </test>
1024 </with>
1025 </definition>
1026 <definition
1027 id="isNonImageElement">
1028 <with
1029 variable="activeMenuSelection">
1030 <test
1031 property="taxeditor-editor.descriptions.propertyTester.isNonImageElement">
1032 </test>
1033 </with>
1034 </definition>
1035 </extension>
1036 <extension
1037 point="org.eclipse.core.expressions.propertyTesters">
1038 <propertyTester
1039 class="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DescriptionsMenuPropertyTester"
1040 id="taxeditor-editor.descriptions.PropertyTester"
1041 namespace="taxeditor-editor.descriptions.propertyTester"
1042 properties="isInImageGallery,isInImageList,isImage,isInDescription,isNonImageElement"
1043 type="org.eclipse.jface.viewers.TreeSelection">
1044 </propertyTester>
1045 </extension>
1046 <extension
1047 point="org.eclipse.ui.views">
1048 <view
1049 allowMultiple="false"
1050 class="eu.etaxonomy.taxeditor.namerelationsview.NameRelationsView"
1051 id="taxeditor-editor.namerelationsview"
1052 name="Name Relations"
1053 restorable="true">
1054 </view>
1055 <view
1056 allowMultiple="false"
1057 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyView"
1058 id="eu.etaxonomy.taxeditor.views.tabbedPropertiesView"
1059 name="Tabbed Properties"
1060 restorable="true">
1061 </view>
1062 </extension>
1063 <extension
1064 point="org.eclipse.ui.commands">
1065 <command
1066 id="org.eclipse.ui.window.newEditor"
1067 name="New Editor">
1068 </command>
1069 </extension>
1070 </plugin>