deleting files not supposed to be in version control
[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="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
336 commandId="org.eclipse.ui.file.save">
337 </handler>
338 <handler
339 class="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
340 commandId="org.eclipse.ui.file.saveAll">
341 </handler-->
342 </extension>
343 <extension
344 name="File Menu Commands"
345 point="org.eclipse.ui.commands">
346 <command
347 categoryId="org.eclipse.ui.category.file"
348 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.EditNewTaxonHandler"
349 id="eu.etaxonomy.taxeditor.editor.newTaxon"
350 name="New Taxon">
351 </command>
352 <!--command
353 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveTaxonHandler"
354 id="eu.etaxonomy.taxeditor.editor.saveTaxon"
355 name="Save">
356 </command>
357 <command
358 categoryId="org.eclipse.ui.category.file"
359 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
360 id="eu.etaxonomy.taxeditor.editor.saveAll"
361 name="Save All">
362 </command-->
363 </extension>
364 <extension
365 point="org.eclipse.core.expressions.definitions">
366 <definition
367 id="nameEditorActive">
368 <with
369 variable="activeEditorId">
370 <equals
371 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
372 </equals>
373 </with>
374 </definition>
375 <definition
376 id="isAcceptedTaxon">
377 <with
378 variable="activeMenuSelection">
379 <iterate>
380 <instanceof
381 value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
382 </instanceof>
383 </iterate>
384 </with>
385 </definition>
386 <definition
387 id="isSynonym">
388 <with
389 variable="activeMenuSelection">
390 <iterate>
391 <instanceof
392 value="eu.etaxonomy.taxeditor.propertysheet.name.SynonymPropertySource">
393 </instanceof>
394 </iterate>
395 </with>
396 </definition>
397 <definition
398 id="isMisapplication">
399 <with
400 variable="activeMenuSelection">
401 <iterate>
402 <instanceof
403 value="eu.etaxonomy.taxeditor.propertysheet.name.MisapplicationPropertySource">
404 </instanceof>
405 </iterate>
406 </with>
407 </definition>
408 <definition
409 id="isConceptRelation">
410 <with
411 variable="activeMenuSelection">
412 <iterate>
413 <instanceof
414 value="eu.etaxonomy.taxeditor.propertysheet.name.ConceptPropertySource">
415 </instanceof>
416 </iterate>
417 </with>
418 </definition>
419 <definition
420 id="isCdmObject">
421 <with
422 variable="activeMenuSelection">
423 <iterate>
424 <instanceof
425 value="eu.etaxonomy.taxeditor.propertysheet.ICdmBasePropertySource">
426 </instanceof>
427 </iterate>
428 </with>
429 </definition>
430 <definition
431 id="isSelectionNonAcceptedTaxonName">
432 <with
433 variable="selection">
434 <and>
435 <not>
436 <iterate>
437 <instanceof
438 value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
439 </instanceof>
440 </iterate>
441 </not>
442 <iterate>
443 <instanceof
444 value="eu.etaxonomy.taxeditor.propertysheet.name.TaxonBasePropertySource">
445 </instanceof>
446 </iterate>
447 </and>
448 </with>
449 </definition>
450 </extension>
451 <extension
452 name="Name Commands"
453 point="org.eclipse.ui.commands">
454 <category
455 id="eu.etaxonomy.taxeditor.editor.synonymCategory"
456 name="Synonym Category">
457 </category>
458 <command
459 categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
460 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
461 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
462 name="Create Homotypic Synonym">
463 </command>
464 <command
465 categoryId="eu.etaxonomy.taxeditor.editor.synonymCategory"
466 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
467 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
468 name="Create Heterotypic Synonym">
469 </command>
470 <command
471 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
472 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
473 name="Create Synonym In Homotypical Group">
474 </command>
475 <command
476 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateConceptRelationHandler"
477 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
478 name="Create Concept Relation">
479 </command>
480 <command
481 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
482 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
483 name="Create Misapplication">
484 </command>
485 <command
486 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
487 id="eu.etaxonomy.taxeditor.editor.name.deleteTaxonBase"
488 name="Delete Taxon Base">
489 </command>
490 <!--command
491 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
492 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
493 name="Move Taxon">
494 </command-->
495 <command
496 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.CreateChildTaxonHandler"
497 id="eu.etaxonomy.taxeditor.editor.name.createChildTaxon"
498 name="Create Child Taxon">
499 </command>
500 <command
501 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
502 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
503 name="Change To Synonym">
504 </command>
505 <command
506 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
507 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
508 name="Change To Accepted Taxon">
509 </command>
510 <command
511 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToConceptRelationHandler"
512 id="eu.etaxonomy.taxeditor.editor.name.changeToConceptRelation"
513 name="Change To Concept Relation">
514 </command>
515 <command
516 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
517 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
518 name="Change To Misapplication">
519 </command>
520 <command
521 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeConceptRelationshipTypeHandler"
522 id="eu.etaxonomy.taxeditor.editor.name.changeConceptRelationshipType"
523 name="Change Concept Relationship Type">
524 </command>
525 <command
526 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
527 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
528 name="Swap Synonym With Accepted">
529 </command>
530 <command
531 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
532 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
533 name="Set Basionym / Original Combination">
534 </command>
535 <command
536 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
537 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
538 name="Remove Basionym / Original Combination">
539 </command>
540 <command
541 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
542 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
543 name="Change Accepted Taxon to Synonym">
544 </command>
545 </extension>
546 <extension
547 point="org.eclipse.ui.commands">
548 <command
549 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowPropertySheetHandler"
550 id="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
551 name="Show Property Sheet">
552 </command>
553 <command
554 defaultHandler="eu.etaxonomy.taxeditor.namerelationsview.ShowNameRelationsHandler"
555 id="eu.etaxonomy.taxeditor.editor.commands.showNameRelationsView"
556 name="Show Name Relations">
557 </command>
558 </extension>
559 <extension
560 point="org.eclipse.ui.commands">
561 <command
562 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.PreviousMemberHandler"
563 id="eu.etaxonomy.taxeditor.editor.command.previousMember"
564 name="Previous Member">
565 </command>
566 <command
567 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.NextMemberHandler"
568 id="eu.etaxonomy.taxeditor.editor.command.nextMember"
569 name="Next Member">
570 </command>
571 <command
572 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
573 id="eu.etaxonomy.taxeditor.editor.command.openParent"
574 name="Open Parent">
575 </command>
576 </extension>
577 <extension
578 point="org.eclipse.ui.commands">
579 <command
580 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowTabbedPropertiesViewHandler"
581 id="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
582 name="Tabbed Properties">
583 </command>
584 </extension>
585 <extension
586 point="org.eclipse.ui.elementFactories">
587 <factory
588 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
589 id="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory">
590 </factory>
591 </extension>
592 <extension
593 point="org.eclipse.ui.perspectiveExtensions">
594 <perspectiveExtension
595 targetID="eu.etaxonomy.taxeditor.application.perspective">
596 <view
597 closeable="true"
598 id="org.eclipse.ui.views.PropertySheet"
599 minimized="false"
600 moveable="true"
601 ratio="0.7"
602 relationship="right"
603 relative="org.eclipse.ui.editorss"
604 showTitle="false"
605 visible="true">
606 </view>
607 </perspectiveExtension>
608 </extension>
609 <extension
610 point="org.eclipse.ui.bindings">
611 <key
612 commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
613 contextId="org.eclipse.ui.contexts.window"
614 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
615 sequence="M2+M3+ARROW_DOWN">
616 </key>
617 <key
618 commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
619 contextId="org.eclipse.ui.contexts.window"
620 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
621 sequence="M2+M3+ARROW_UP">
622 </key>
623 <scheme
624 description="The default key binding scheme for the Taxonomic Editor"
625 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
626 name="Taxonomic Editor Default Key Bindings">
627 </scheme>
628 </extension>
629 <extension
630 point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
631 <propertyContributor
632 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor"
633 labelProvider="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyPageLabelProvider"
634 typeMapper="eu.etaxonomy.taxeditor.propertysheet.tabbed.TaxonTypeMapper">
635 <propertyCategory
636 category="taxonBase"></propertyCategory>
637 </propertyContributor>
638 </extension>
639 <extension
640 point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
641 <propertyTabs
642 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
643 <propertyTab
644 category="taxonBase"
645 id="taxonNameEditor.nameTab"
646 label="Name">
647 </propertyTab>
648 <propertyTab
649 afterTab="taxonNameEditor.nomRefTab"
650 category="taxonBase"
651 id="taxonNameEditor.nameRelationsTab"
652 label="Name Relations">
653 </propertyTab>
654 <propertyTab
655 afterTab="taxonNameEditor.nameRelationsfTab"
656 category="taxonBase"
657 id="taxonNameEditor.secundumTab"
658 label="Secundum">
659 </propertyTab>
660 <propertyTab
661 afterTab="taxonNameEditor.secundumTab"
662 category="taxonBase"
663 id="taxonNameEditor.annotationsTab"
664 label="Annotations">
665 </propertyTab>
666 <propertyTab
667 afterTab="taxonNameEditor.annotationsTab"
668 category="taxonBase"
669 id="taxonNameEditor.generalTab"
670 label="General">
671 </propertyTab>
672 </propertyTabs>
673 </extension>
674 <extension
675 point="org.eclipse.ui.views.properties.tabbed.propertySections">
676 <propertySections
677 contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
678 <propertySection
679 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameOverviewSection"
680 id="taxonNameEditor.overview.name"
681 tab="taxonNameEditor.nameTab">
682 <input
683 type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
684 </input>
685 <input
686 type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
687 </input>
688 </propertySection>
689 <propertySection
690 afterSection="taxonNameEditor.overview.name"
691 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NamePropertySection"
692 id="taxonNameEditor.nameSection"
693 tab="taxonNameEditor.nameTab">
694 <input
695 type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
696 </input>
697 <input
698 type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
699 </input>
700 </propertySection>
701 <!--propertySection
702 afterSection="taxonNameEditor.nameSection"
703 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AuthorSection"
704 id="taxonNameEditor.authorSection"
705 tab="taxonNameEditor.nameTab">
706 <input
707 type="eu.etaxonomy.cdm.model.taxon.Taxon">
708 </input>
709 <input
710 type="eu.etaxonomy.cdm.model.taxon.Synonym">
711 </input>
712 </propertySection>
713 <propertySection
714 afterSection="taxonNameEditor.authorSection"
715 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NomRefPropertySection"
716 id="taxonNameEditor.nomRefSection"
717 tab="taxonNameEditor.nameTab">
718 <input
719 type="eu.etaxonomy.cdm.model.taxon.Taxon">
720 </input>
721 <input
722 type="eu.etaxonomy.cdm.model.taxon.Synonym">
723 </input>
724 </propertySection-->
725 <propertySection
726 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.CreatedSection"
727 id="taxonNameEditor.createdSection"
728 tab="taxonNameEditor.generalTab">
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.AnnotationSection"
738 id="taxonNameEditor.annotationSection"
739 tab="taxonNameEditor.annotationsTab">
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.NameRelationsSection"
749 id="taxonNameEditor.nameRelationSection"
750 tab="taxonNameEditor.nameRelationsTab">
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.SecundumSection"
760 id="taxonNameEditor.secundumSection"
761 tab="taxonNameEditor.secundumTab">
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 </propertySections>
770 </extension>
771 <extension
772 point="org.eclipse.core.runtime.adapters">
773 <factory
774 adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
775 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
776 <adapter
777 type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
778 </adapter>
779 </factory>
780 </extension>
781 <extension
782 point="org.eclipse.ui.menus">
783 <menuContribution
784 locationURI="popup:eu.etaxonomy.taxeditor.descriptiontreeeditor">
785 <command
786 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
787 label="New Description"
788 style="push">
789 </command>
790 <command
791 commandId="taxeditor-editor.command.newimagegallery"
792 label="New Image Gallery"
793 style="push">
794 </command>
795 <separator
796 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
797 visible="true">
798 </separator>
799 <command
800 commandId="taxeditor-editor.neworderedimagelist"
801 label="New Ordered Image List"
802 style="push">
803 <visibleWhen>
804 <reference
805 definitionId="isInImageGallery">
806 </reference>
807 </visibleWhen>
808 </command>
809 <command
810 commandId="taxeditor-editor.newimage"
811 label="New Image"
812 style="push">
813 <visibleWhen>
814 <reference
815 definitionId="isInImageList">
816 </reference>
817 </visibleWhen>
818 </command>
819 <menu
820 label="New">
821 <dynamic
822 class="eu.etaxonomy.taxeditor.editor.descriptiontree.DynamicFeatureMenu"
823 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
824 </dynamic>
825 <visibleWhen>
826 <reference
827 definitionId="isInDescription">
828 </reference>
829 </visibleWhen>
830 </menu>
831 <separator
832 name="taxeditor-editor.separator1"
833 visible="true">
834 </separator>
835 <command
836 commandId="taxeditor-editor.command.moveimgup"
837 label="Move Image Up In List"
838 style="push">
839 <visibleWhen>
840 <reference
841 definitionId="isImage">
842 </reference>
843 </visibleWhen>
844 </command>
845 <command
846 commandId="taxeditor-editor.command.moveimgdown"
847 label="Move Image Down In List"
848 style="push">
849 <visibleWhen>
850 <reference
851 definitionId="isImage">
852 </reference>
853 </visibleWhen>
854 </command>
855 <separator
856 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
857 visible="true">
858 </separator>
859 <command
860 commandId="eu.etaxonomy.taxeditor.description.commands.deletedescription"
861 label="Delete Description"
862 style="push">
863 <visibleWhen>
864 <reference
865 definitionId="isInDescription">
866 </reference>
867 </visibleWhen>
868 </command>
869 <command
870 commandId="taxeditor-editor.command.deleteImageGallery"
871 label="Delete Image Gallery"
872 style="push">
873 <visibleWhen>
874 <reference
875 definitionId="isInImageGallery">
876 </reference>
877 </visibleWhen>
878 </command>
879 <command
880 commandId="taxeditor-editor.command.deleteImage"
881 label="Delete Image"
882 style="push">
883 <visibleWhen>
884 <reference
885 definitionId="isImage">
886 </reference>
887 </visibleWhen>
888 </command>
889 <command
890 commandId="eu.etaxonomy.taxeditor.editor.name.deleteDescriptionElement"
891 label="Delete"
892 style="push">
893 <visibleWhen>
894 <reference
895 definitionId="isNonImageElement">
896 </reference>
897 </visibleWhen>
898 </command>
899 <separator
900 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
901 visible="true">
902 </separator>
903 <command
904 commandId="org.eclipse.ui.file.save"
905 label="Save"
906 style="push">
907 </command>
908 </menuContribution>
909 </extension>
910 <extension
911 point="org.eclipse.ui.commands">
912 <command
913 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.CreateDescriptionElementHandler"
914 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
915 name="Create Description Element">
916 </command>
917 <command
918 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteDescriptionElementHandler"
919 id="eu.etaxonomy.taxeditor.editor.name.deleteDescriptionElement"
920 name="Delete Description Element">
921 </command>
922 <command
923 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.AddDescriptionHandler"
924 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
925 name="New Description">
926 </command>
927 <command
928 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteDescriptionHandler"
929 id="eu.etaxonomy.taxeditor.description.commands.deletedescription"
930 name="Delete Description">
931 </command>
932 <command
933 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.AddImageGalleryHandler"
934 id="taxeditor-editor.command.newimagegallery"
935 name="New Image Gallery">
936 </command>
937 <command
938 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteDescriptionHandler"
939 id="taxeditor-editor.command.deleteImageGallery"
940 name="Delete Image Gallery">
941 </command>
942 <command
943 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.CreateImageListHandler"
944 id="taxeditor-editor.neworderedimagelist"
945 name="New Ordered Image List">
946 </command>
947 <command
948 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.CreateImageHandler"
949 id="taxeditor-editor.newimage"
950 name="New Image">
951 </command>
952 <command
953 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.MoveImageDownInListHandler"
954 id="taxeditor-editor.command.moveimgdown"
955 name="Move Image Down In List">
956 </command>
957 <command
958 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.MoveImageUpInListHandler"
959 id="taxeditor-editor.command.moveimgup"
960 name="Move Image Up In List">
961 </command>
962 <command
963 defaultHandler="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteImageHandler"
964 id="taxeditor-editor.command.deleteImage"
965 name="Delete Image">
966 </command>
967 </extension>
968 <extension
969 point="org.eclipse.core.expressions.definitions">
970 <definition
971 id="isEmptySelection">
972 <with
973 variable="activeMenuSelection">
974 <count
975 value="0">
976 </count>
977 </with>
978 </definition>
979 <definition
980 id="isInImageGallery">
981 <with
982 variable="activeMenuSelection">
983 <test
984 property="taxeditor-editor.descriptions.propertyTester.isInImageGallery">
985 </test>
986 </with>
987 </definition>
988 <definition
989 id="isInImageList">
990 <with
991 variable="activeMenuSelection">
992 <test
993 property="taxeditor-editor.descriptions.propertyTester.isInImageList">
994 </test>
995 </with>
996 </definition>
997 <definition
998 id="isImage">
999 <with
1000 variable="activeMenuSelection">
1001 <test
1002 property="taxeditor-editor.descriptions.propertyTester.isImage">
1003 </test>
1004 </with>
1005 </definition>
1006 <definition
1007 id="isInDescription">
1008 <with
1009 variable="activeMenuSelection">
1010 <test
1011 property="taxeditor-editor.descriptions.propertyTester.isInDescription">
1012 </test>
1013 </with>
1014 </definition>
1015 <definition
1016 id="isNonImageElement">
1017 <with
1018 variable="activeMenuSelection">
1019 <test
1020 property="taxeditor-editor.descriptions.propertyTester.isNonImageElement">
1021 </test>
1022 </with>
1023 </definition>
1024 </extension>
1025 <extension
1026 point="org.eclipse.core.expressions.propertyTesters">
1027 <propertyTester
1028 class="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DescriptionsMenuPropertyTester"
1029 id="taxeditor-editor.descriptions.PropertyTester"
1030 namespace="taxeditor-editor.descriptions.propertyTester"
1031 properties="isInImageGallery,isInImageList,isImage,isInDescription,isNonImageElement"
1032 type="org.eclipse.jface.viewers.TreeSelection">
1033 </propertyTester>
1034 </extension>
1035 <extension
1036 point="org.eclipse.ui.views">
1037 <view
1038 allowMultiple="false"
1039 class="eu.etaxonomy.taxeditor.namerelationsview.NameRelationsView"
1040 id="taxeditor-editor.namerelationsview"
1041 name="Name Relations"
1042 restorable="true">
1043 </view>
1044 <view
1045 allowMultiple="false"
1046 class="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyView"
1047 id="eu.etaxonomy.taxeditor.views.tabbedPropertiesView"
1048 name="Tabbed Properties"
1049 restorable="true">
1050 </view>
1051 </extension>
1052 </plugin>