merge-update from trunk
[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="%editor.name">
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="%editor.name.0">
36 </editor>
37 <editor
38 class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39 default="false"
40 id="eu.etaxonomy.taxeditor.editor.key"
41 name="%editor.name.1">
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="%editor.name.2">
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="%editor.name.3">
54 </editor>
55 <editor
56 class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57 default="false"
58 id="eu.etaxonomy.taxeditor.editor.group.authority"
59 name="%editor.name.4">
60 </editor>
61 <editor
62 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
63 default="false"
64 icon="icons/derivate_view-16x16-32.png"
65 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
66 name="%editor.name.5">
67 </editor>
68 <editor
69 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
70 default="false"
71 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
72 name="%editor.name.6">
73 </editor>
74 <editor
75 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
76 default="false"
77 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
78 name="%editor.name.7">
79 </editor>
80 <editor
81 class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
82 icon="icons/check.png"
83 id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
84 name="%editor.name.8">
85 </editor>
86 <editor
87 class="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
88 default="false"
89 id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
90 name="Alignment Editor">
91 </editor>
92 </extension>
93 <extension
94 id="eu.etaxonomy.taxeditor.editor.molecular.PherogramView"
95 point="org.eclipse.ui.views">
96 <view
97 allowMultiple="false"
98 category="eu.etaxonomy.taxeditor.editor.category"
99 class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
100 icon="icons/address-book-new.png"
101 id="eu.etaxonomy.taxeditor.editor.view.descriptive"
102 name="%view.name"
103 restorable="true">
104 </view>
105 <view
106 allowMultiple="false"
107 category="eu.etaxonomy.taxeditor.editor.category"
108 class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
109 icon="icons/leaf.png"
110 id="eu.etaxonomy.taxeditor.editor.view.uses"
111 name="%view.name.0"
112 restorable="true">
113 </view>
114 <view
115 allowMultiple="false"
116 category="eu.etaxonomy.taxeditor.editor.category"
117 class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
118 icon="icons/camera-photo.png"
119 id="eu.etaxonomy.taxeditor.editor.view.media"
120 name="%view.name.1"
121 restorable="true">
122 </view>
123 <view
124 category="eu.etaxonomy.taxeditor.editor.category"
125 class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
126 id="eu.etaxonomy.taxeditor.editor.view.concept"
127 name="%view.name.2"
128 restorable="true">
129 </view>
130 <view
131 category="eu.etaxonomy.taxeditor.editor.category"
132 class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
133 icon="icons/address-book-new.png"
134 id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
135 name="%view.name.3"
136 restorable="true">
137 </view>
138 <category
139 id="eu.etaxonomy.taxeditor.editor.category"
140 name="%category.name">
141 </category>
142 <view
143 allowMultiple="true"
144 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
145 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
146 name="%view.name.4">
147 </view>
148 <view
149 allowMultiple="true"
150 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
151 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
152 name="%view.name.5">
153 </view>
154 <view
155 allowMultiple="false"
156 category="eu.etaxonomy.taxeditor.editor.category"
157 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
158 icon="icons/edit_16x16.gif"
159 id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
160 name="%view.name.6">
161 </view>
162 <view
163 allowMultiple="true"
164 class="eu.etaxonomy.taxeditor.editor.molecular.PherogramViewPart"
165 id="eu.etaxonomy.taxeditor.editor.molecular.PherogramView"
166 name="PherogramView"
167 restorable="true">
168 </view>
169 </extension>
170 <!-- VALIDATION RELATED STUFF -->
171 <extension point="org.eclipse.core.resources.markers" name="Validation Error" id="eu.etaxonomy.taxeditor.markers.validationerror">
172 <super type="org.eclipse.core.resources.problemmarker"/>
173 <attribute name="databaseId"/>
174 <attribute name="userFriendlyTypeName"/>
175 <attribute name="userFriendlyDescription"/>
176 <attribute name="userFriendlyFieldName"/>
177 <attribute name="validatorMessage"/>
178 <attribute name="invalidValue"/>
179 <attribute name="validatorClass"/>
180 <attribute name="entityClass"/>
181 <attribute name="entityId"/>
182 <persistent value="false"/>
183 </extension>
184
185 <extension point="org.eclipse.ui.ide.markerSupport">
186 <markerContentGenerator
187 id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator"
188 name="Validation Problems Marker Generator">
189 <markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
190
191 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
192 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
193 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
194 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
195 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
196 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
197 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
198 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
199 </markerContentGenerator>
200
201 <markerField
202 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
203 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
204 name="%marker.field.0">
205 </markerField>
206 <markerField
207 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
208 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
209 name="%marker.field.1">
210 </markerField>
211 <markerField
212 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
213 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
214 name="%marker.field.2 = Attribute">
215 </markerField>
216 <markerField
217 class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
218 id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
219 name="%marker.field.3 = Problematic Value">
220 </markerField>
221 <markerField
222 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
223 id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
224 name="%marker.field.4 = Problem description">
225 </markerField>
226 <markerField
227 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
228 id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
229 name="%marker.field.5">
230 </markerField>
231 <markerField
232 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
233 id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
234 name="%marker.field.6">
235 </markerField>
236 <markerField
237 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
238 id="eu.etaxonomy.taxeditor.markers.validation.entityId"
239 name="%marker.field.7">
240 </markerField>
241 </extension>
242 <extension
243 point="org.eclipse.ui.elementFactories">
244 <factory
245 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
246 id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
247 </factory>
248 </extension>
249 <extension
250 point="org.eclipse.ui.menus">
251 <menuContribution
252 locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
253 <command
254 commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
255 label="%command.label.46"
256 style="push">
257 </command>
258 <command
259 commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
260 label="%command.label.47"
261 style="push">
262 </command>
263 <command
264 commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
265 label="%command.label.1"
266 style="push">
267 </command>
268 <command
269 commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
270 label="%command.label.2"
271 style="push">
272 </command>
273 <separator
274 name="eu.etaxonomy.navigation.menu.new.separator2"
275 visible="true">
276 </separator>
277 <command
278 commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
279 label="%command.label.3"
280 style="push">
281 </command>
282 <separator
283 name="eu.etaxonomy.navigation.menu.new.separator3"
284 visible="true">
285 </separator>
286 <command
287 commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
288 label="%command.label.48"
289 style="push">
290 </command>
291 </menuContribution>
292 <menuContribution
293 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
294 <separator
295 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
296 visible="true">
297 </separator>
298 <command
299 commandId="org.eclipse.ui.views.showView"
300 label="%command.label.4"
301 style="push">
302 <parameter
303 name="org.eclipse.ui.views.showView.viewId"
304 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
305 </parameter>
306 </command>
307 <command
308 commandId="org.eclipse.ui.views.showView"
309 label="%command.label.5"
310 style="push">
311 <parameter
312 name="org.eclipse.ui.views.showView.viewId"
313 value="eu.etaxonomy.taxeditor.editor.view.media">
314 </parameter>
315 </command>
316 <command
317 commandId="org.eclipse.ui.views.showView"
318 label="%command.label.6"
319 style="push">
320 <parameter
321 name="org.eclipse.ui.views.showView.viewId"
322 value="eu.etaxonomy.taxeditor.editor.view.concept">
323 </parameter>
324 </command>
325 <command
326 commandId="org.eclipse.ui.views.showView"
327 label="%command.label.7"
328 style="push">
329 <parameter
330 name="org.eclipse.ui.views.showView.viewId"
331 value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
332 </parameter>
333 <visibleWhen
334 checkEnabled="false">
335 <reference
336 definitionId="isShowExperimentalFeatures">
337 </reference>
338 </visibleWhen>
339 </command>
340 <command
341 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
342 label="Alignment Editor"
343 style="push">
344 </command>
345 </menuContribution>
346 <menuContribution
347 locationURI="menu:org.eclipse.ui.main.menu.navigate">
348 <command
349 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
350 label="%command.label.8"
351 style="push">
352 </command>
353 </menuContribution>
354 <menuContribution
355 locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
356 <menu
357 label="%menu.label">
358 <command
359 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
360 label="%command.label.9"
361 style="push">
362 <visibleWhen>
363 <reference
364 definitionId="isAcceptedTaxon">
365 </reference>
366 </visibleWhen>
367 </command>
368 <command
369 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
370 label="%command.label.10"
371 style="push">
372 <visibleWhen>
373 <reference
374 definitionId="isAcceptedTaxon">
375 </reference>
376 </visibleWhen>
377 </command>
378 <command
379 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
380 label="%command.label.11"
381 style="push">
382 <visibleWhen>
383 <reference
384 definitionId="isSynonym">
385 </reference>
386 </visibleWhen>
387 </command>
388 <separator
389 name="separator1"
390 visible="true">
391 </separator>
392 <command
393 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
394 label="%command.label.49"
395 style="push">
396 <visibleWhen>
397 <or>
398 <reference
399 definitionId="isAcceptedTaxon">
400 </reference>
401 <reference
402 definitionId="isMisapplication">
403 </reference>
404 </or>
405 </visibleWhen>
406 </command>
407 </menu>
408 <!--<command
409 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
410 label="Change Accepted Taxon to Synonym"
411 style="push">
412 <visibleWhen
413 checkEnabled="true">
414 <reference
415 definitionId="isAcceptedAndHasNoHomotypicSynonyms">
416 </reference>
417 </visibleWhen
418 <visibleWhen>
419 <or>
420 <reference
421 definitionId="isAcceptedTaxon">
422 </reference>
423 <reference
424 definitionId="isMisapplication">
425 </reference>
426 </or>
427 </visibleWhen>
428 </command>-->
429 <menu
430 label="%menu.label.0">
431 <command
432 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
433 label="%command.label.12"
434 style="push">
435 <visibleWhen>
436 <not>
437 <or>
438 <reference
439 definitionId="isAcceptedTaxon">
440 </reference>
441 <reference
442 definitionId="isMisapplication">
443 </reference>
444 </or>
445 </not>
446 </visibleWhen>
447 </command>
448 <command
449 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
450 label="%command.label.13"
451 style="push">
452 <visibleWhen>
453 <not>
454 <or>
455 <reference
456 definitionId="isAcceptedTaxon">
457 </reference>
458 <reference
459 definitionId="isSynonym">
460 </reference>
461 </or>
462 </not>
463 </visibleWhen>
464 </command>
465 <command
466 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
467 label="%command.label.14"
468 style="push">
469 <visibleWhen>
470 <not>
471 <or>
472 <reference
473 definitionId="isAcceptedTaxon">
474 </reference>
475 <reference
476 definitionId="isMisapplication">
477 </reference>
478 </or>
479 </not>
480 </visibleWhen>
481 </command>
482 </menu>
483 <separator
484 name="taxeditor-editor.separator1"
485 visible="true">
486 </separator>
487 <command
488 commandId="org.eclipse.ui.edit.delete"
489 label="%command.label.15"
490 style="push">
491 <visibleWhen>
492 <or>
493 <reference
494 definitionId="isSynonym">
495 </reference>
496 <reference
497 definitionId="isMisapplication">
498 </reference>
499 <reference
500 definitionId="isConceptRelation">
501 </reference>
502 </or>
503 </visibleWhen>
504 </command>
505 <command
506 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
507 label="%command.label.16"
508 style="push">
509 <visibleWhen>
510 <reference
511 definitionId="hasEmptyNames">
512 </reference>
513 </visibleWhen>
514 </command>
515 <separator
516 name="taxeditor-editor.separator2"
517 visible="true">
518 </separator>
519 <dynamic
520 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
521 id="taxeditor-editor.dynamic.setBasionym">
522 <visibleWhen>
523 <or>
524 <reference
525 definitionId="isAcceptedTaxon">
526 </reference>
527 <reference
528 definitionId="isSynonym">
529 </reference>
530 </or>
531 </visibleWhen>
532 </dynamic>
533 <command
534 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
535 label="%command.label.17"
536 style="push">
537 <visibleWhen>
538 <reference
539 definitionId="isSynonym">
540 </reference>
541 </visibleWhen>
542 </command>
543 <separator
544 name="taxeditor-editor.separator3"
545 visible="true">
546 </separator>
547 <command
548 commandId="org.eclipse.ui.views.showView"
549 label="%command.label.18"
550 style="push">
551 <parameter
552 name="org.eclipse.ui.views.showView.viewId"
553 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
554 </parameter>
555 </command>
556 <separator
557 name="taxeditor-editor.separator4"
558 visible="true">
559 </separator>
560 <command
561 commandId="org.eclipse.ui.file.save"
562 label="%command.label.19"
563 style="push">
564 </command>
565 </menuContribution>
566 <menuContribution
567 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
568 <command
569 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
570 label="%command.label.20"
571 style="push">
572 </command>
573 <separator
574 name="taxeditor-editor.separator1"
575 visible="true">
576 </separator>
577 <command
578 commandId="org.eclipse.ui.edit.delete"
579 label="%command.label.21"
580 style="push">
581 </command>
582 <separator
583 name="taxeditor-editor.separator2"
584 visible="true">
585 </separator>
586 <command
587 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
588 label="%command.label.22"
589 style="push">
590 </command>
591 <separator
592 name="taxeditor-editor.separator3"
593 visible="true">
594 </separator>
595 </menuContribution>
596 <menuContribution
597 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
598 <command
599 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
600 label="%command.label.23"
601 style="push">
602 </command>
603 <command
604 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
605 label="%command.label.24"
606 style="push">
607 </command>
608 <command
609 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
610 label="%command.label.25"
611 style="push">
612 </command>
613 <command
614 commandId="org.eclipse.ui.edit.delete"
615 label="%command.label.26"
616 style="push">
617 </command>
618 </menuContribution>
619 <menuContribution
620 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
621 <command
622 commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
623 label="%command.label.27"
624 style="push">
625 </command>
626 <separator
627 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
628 visible="true">
629 </separator>
630 <menu
631 label="%menu.label.1">
632 <dynamic
633 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
634 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
635 </dynamic>
636 <visibleWhen
637 checkEnabled="true">
638 <or>
639 <reference
640 definitionId="isDescription">
641 </reference>
642 <reference
643 definitionId="isDescriptionElement">
644 </reference>
645 <reference
646 definitionId="isFeatureNodeContainer">
647 </reference>
648 </or>
649 </visibleWhen>
650 </menu>
651 <separator
652 name="taxeditor-editor.separator1"
653 visible="true">
654 </separator>
655 <command
656 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
657 label="Open in Derivate Editor"
658 style="push">
659 <visibleWhen
660 checkEnabled="true">
661 <with
662 variable="selection">
663 <count
664 value="+">
665 </count>
666 </with>
667 </visibleWhen>
668 </command>
669 <command
670 commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
671 label="%command.label.28"
672 style="push">
673 <visibleWhen
674 checkEnabled="true">
675 <reference
676 definitionId="isDescription">
677 </reference>
678 </visibleWhen>
679 </command>
680 <command
681 commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
682 label="%command.label.29"
683 style="push">
684 <visibleWhen
685 checkEnabled="true">
686 <or>
687 <reference
688 definitionId="isDescriptionElement">
689 </reference>
690 <reference
691 definitionId="isFeatureNodeContainer">
692 </reference>
693 </or>
694 </visibleWhen>
695 </command>
696 <separator
697 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
698 visible="true">
699 </separator>
700 <command
701 commandId="org.eclipse.ui.edit.delete"
702 label="%command.label.30"
703 style="push">
704 </command>
705 <separator
706 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
707 visible="true">
708 </separator>
709 <command
710 commandId="org.eclipse.ui.file.save"
711 label="%command.label.31"
712 style="push">
713 </command>
714 <separator
715 name="eu.etaxonomy.taxeditor.editor.separator1">
716 </separator>
717 </menuContribution>
718 <menuContribution
719 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
720 <command
721 commandId="org.eclipse.ui.edit.delete"
722 label="Delete"
723 style="push">
724 </command>
725 <command
726 commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
727 label="Create Field Unit"
728 style="push">
729 </command>
730 <command
731 commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
732 icon="icons/deep-delete-16x16-32.png"
733 label="Delete (with children)"
734 style="push">
735 </command>
736 <command
737 commandId="eu.etaxonomy.taxeditor.editor.editSequence"
738 label="Edit Sequence"
739 style="push">
740 <visibleWhen
741 checkEnabled="true">
742 <reference
743 definitionId="isSequence">
744 </reference>
745 </visibleWhen>
746 </command>
747 <command
748 commandId="eu.etaxonomy.taxeditor.editor.showPherogram"
749 label="Show Pherogram"
750 style="push">
751 <visibleWhen
752 checkEnabled="true">
753 <reference
754 definitionId="isSingleRead">
755 </reference>
756 </visibleWhen>
757 </command>
758 <dynamic
759 class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
760 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
761 </dynamic>
762 </menuContribution>
763 <menuContribution
764 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
765 <dynamic
766 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
767 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
768 </dynamic>
769 </menuContribution>
770 <menuContribution
771 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
772 <dynamic
773 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
774 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
775 </dynamic>
776 </menuContribution>
777
778
779
780
781 <menuContribution
782 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
783 <command
784 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
785 label="%command.label.32"
786 style="push">
787 </command>
788 <command
789 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
790 label="%command.label.33"
791 style="push">
792 <visibleWhen
793 checkEnabled="true">
794 <or>
795 <reference
796 definitionId="isDescription">
797 </reference>
798 <reference
799 definitionId="isDescriptionElement">
800 </reference>
801 <reference
802 definitionId="isFeatureNodeContainer">
803 </reference>
804 </or>
805 </visibleWhen>
806 </command>
807 <command
808 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
809 label="%command.label.34"
810 style="push">
811 <visibleWhen
812 checkEnabled="true">
813 <or>
814 <reference
815 definitionId="isDescription">
816 </reference>
817 <reference
818 definitionId="isDescriptionElement">
819 </reference>
820 <reference
821 definitionId="isFeatureNodeContainer">
822 </reference>
823 </or>
824 </visibleWhen>
825 </command>
826 <separator
827 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
828 visible="true">
829 </separator>
830 <separator
831 name="taxeditor-editor.separator1"
832 visible="true">
833 </separator>
834 <separator
835 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
836 visible="true">
837 </separator>
838 <command
839 commandId="org.eclipse.ui.edit.delete"
840 label="%command.label.35"
841 style="push">
842 </command>
843 <separator
844 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
845 visible="true">
846 </separator>
847 <command
848 commandId="org.eclipse.ui.file.save"
849 label="%command.label.36"
850 style="push">
851 </command>
852 </menuContribution>
853
854
855
856
857
858 <menuContribution
859 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
860 <command
861 commandId="taxeditor-editor.command.newimagegallery"
862 label="%command.label.37"
863 style="push">
864 <visibleWhen>
865 <or>
866 <reference
867 definitionId="isBulkEditor">
868 </reference>
869 <reference
870 definitionId="isTaxonEditor">
871 </reference>
872 <reference
873 definitionId="isDerivateEditor">
874 </reference>
875 </or>
876 </visibleWhen>
877 </command>
878 <separator
879 name="taxeditor-editor.separator1"
880 visible="true">
881 </separator>
882 <command
883 commandId="taxeditor-editor.newimage"
884 label="%command.label.38"
885 style="push">
886 <visibleWhen>
887 <reference
888 definitionId="isImageGallery">
889 </reference>
890 </visibleWhen>
891 </command>
892 <command
893 commandId="taxeditor-editor.useExistingImage"
894 label="%command.label.50"
895 style="push">
896 <visibleWhen>
897 <reference
898 definitionId="isImageGallery">
899 </reference>
900 </visibleWhen>
901 </command>
902 <command
903 commandId="taxeditor-editor.command.moveimgdown"
904 label="%command.label.39"
905 style="push">
906 <visibleWhen>
907 <reference
908 definitionId="isMedia">
909 </reference>
910 </visibleWhen>
911 </command>
912 <command
913 commandId="taxeditor-editor.command.moveimgup"
914 label="%command.label.40"
915 style="push">
916 <visibleWhen>
917 <reference
918 definitionId="isMedia">
919 </reference>
920 </visibleWhen>
921 </command>
922 <separator
923 name="taxeditor-editor.separator2"
924 visible="true">
925 </separator>
926 <command
927 commandId="org.eclipse.ui.edit.delete"
928 label="%command.label.41"
929 style="push">
930 </command>
931 <command
932 commandId="org.eclipse.ui.file.save"
933 label="%command.label.42"
934 style="push">
935 </command>
936 </menuContribution>
937 <menuContribution
938 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
939 <menu
940 label="%menu.label.3">
941 <dynamic
942 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
943 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
944 </dynamic>
945 </menu>
946 <command
947 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
948 label="%command.label.43"
949 style="push">
950 </command>
951 <separator
952 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
953 visible="true">
954 </separator>
955 <command
956 commandId="org.eclipse.ui.edit.delete"
957 label="%command.label.44"
958 style="push">
959 </command>
960 </menuContribution>
961 <menuContribution
962 allPopups="false"
963 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
964 <command
965 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
966 label="%command.label.45"
967 style="push">
968 <visibleWhen>
969 <reference
970 definitionId="isGroup">
971 </reference>
972 </visibleWhen>
973 </command>
974 </menuContribution>
975 <menuContribution
976 allPopups="false"
977 locationURI="menu:org.eclipse.ui.main.menu">
978 <menu
979 label="Alignment Editor">
980 <command
981 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
982 label="Load Pherogram"
983 style="push">
984 </command>
985 <visibleWhen
986 checkEnabled="true">
987 <with
988 variable="activePartId">
989 <equals
990 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
991 </equals>
992 </with>
993 </visibleWhen>
994 </menu>
995 </menuContribution>
996 <menuContribution
997 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
998 <toolbar
999 id="eu.etaxonomy.taxeditor.editor.alignmentToolbar">
1000 <command
1001 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite"
1002 label="Toggle insert/overwrite"
1003 style="push">
1004 <visibleWhen
1005 checkEnabled="true">
1006 <with
1007 variable="activePartId">
1008 <equals
1009 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
1010 </equals>
1011 </with>
1012 </visibleWhen>
1013 </command>
1014 <command
1015 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion"
1016 label="Toggle left/right insertion"
1017 style="push">
1018 <visibleWhen
1019 checkEnabled="true">
1020 <with
1021 variable="activePartId">
1022 <equals
1023 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
1024 </equals>
1025 </with>
1026 </visibleWhen>
1027 </command>
1028 </toolbar>
1029 </menuContribution>
1030
1031 <menuContribution
1032 allPopups="false"
1033 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1034 <command
1035 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1036 icon="icons/link_obj.gif"
1037 style="toggle"
1038 tooltip="Show Only Individuals Associations">
1039 </command>
1040 </menuContribution>
1041 <menuContribution
1042 allPopups="false"
1043 locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
1044 <command
1045 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1046 label="Open Associated Derivates"
1047 style="push">
1048 <visibleWhen
1049 checkEnabled="false">
1050 <and>
1051 <reference
1052 definitionId="isCdmStoreConnected">
1053 </reference>
1054 <reference
1055 definitionId="isTaxonNode">
1056 </reference>
1057 </and>
1058 </visibleWhen>
1059 </command>
1060 <separator
1061 name="eu.etaxonomy.taxeditor.editor.separator1"
1062 visible="true">
1063 </separator>
1064 </menuContribution>
1065 <menuContribution
1066 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
1067 <separator
1068 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
1069 visible="true">
1070 </separator>
1071 <command
1072 commandId="org.eclipse.ui.views.showView"
1073 label="%command.name.40"
1074 style="push">
1075 <parameter
1076 name="org.eclipse.ui.views.showView.viewId"
1077 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
1078 </parameter>
1079 </command>
1080 </menuContribution>
1081 </extension>
1082 <extension
1083 point="org.eclipse.ui.handlers">
1084 <handler
1085 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1086 commandId="org.eclipse.ui.window.newEditor">
1087 <activeWhen>
1088 <not>
1089 <instanceof
1090 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1091 </instanceof>
1092 </not>
1093 </activeWhen>
1094 <enabledWhen>
1095 <count
1096 value="-1">
1097 </count>
1098 </enabledWhen>
1099 </handler>
1100 <handler
1101 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1102 commandId="org.eclipse.ui.edit.delete">
1103 <activeWhen>
1104 <and>
1105 <reference
1106 definitionId="isTaxonBase">
1107 </reference>
1108 <not>
1109 <reference
1110 definitionId="isAcceptedTaxon">
1111 </reference>
1112 </not>
1113 </and>
1114 </activeWhen>
1115 </handler>
1116 <handler
1117 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1118 commandId="org.eclipse.ui.edit.delete">
1119 <activeWhen>
1120 <with
1121 variable="activePartId">
1122 <or>
1123 <equals
1124 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1125 </equals>
1126 <equals
1127 value="eu.etaxonomy.taxeditor.editor.view.media">
1128 </equals>
1129 </or>
1130 </with>
1131 </activeWhen>
1132 </handler>
1133 <handler
1134 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1135 commandId="org.eclipse.ui.edit.delete">
1136 <activeWhen>
1137 <with
1138 variable="activePartId">
1139 <equals
1140 value="eu.etaxonomy.taxeditor.editor.key">
1141 </equals>
1142 </with>
1143 </activeWhen>
1144 </handler>
1145 <handler
1146 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1147 commandId="org.eclipse.ui.edit.delete">
1148 <activeWhen>
1149 <with
1150 variable="activePartId">
1151 <equals
1152 value="eu.etaxonomy.taxeditor.editor.view.concept">
1153 </equals>
1154 </with>
1155 </activeWhen>
1156 </handler>
1157 <handler
1158 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1159 commandId="org.eclipse.ui.edit.delete">
1160 <activeWhen>
1161 <with
1162 variable="activePartId">
1163 <equals
1164 value="eu.etaxonomy.taxeditor.editor.view.uses">
1165 </equals>
1166 </with>
1167 </activeWhen>
1168 </handler>
1169 <handler
1170 class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1171 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1172 </handler>
1173 <handler
1174 class="eu.etaxonomy.taxeditor.editor.handler.LoadPherogramHandler"
1175 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram">
1176 <activeWhen>
1177 <with
1178 variable="activePartId">
1179 <equals
1180 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
1181 </equals>
1182 </with>
1183 </activeWhen>
1184 </handler>
1185 <handler
1186 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1187 commandId="org.eclipse.ui.edit.delete">
1188 <activeWhen>
1189 <with
1190 variable="activePartId">
1191 <equals
1192 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1193 </equals>
1194 </with>
1195 </activeWhen>
1196 </handler>
1197 <handler
1198 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1199 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1200 <activeWhen>
1201 <with
1202 variable="activePartId">
1203 <equals
1204 value="eu.etaxonomy.taxeditor.navigation.navigator">
1205 </equals>
1206 </with>
1207 </activeWhen>
1208 </handler>
1209 <handler
1210 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1211 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1212 </handler>
1213 <handler
1214 class="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
1215 commandId="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler">
1216 </handler>
1217 <handler
1218 class="eu.etaxonomy.taxeditor.editor.handler.ToggleInsertOverwriteHandler"
1219 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite">
1220 </handler>
1221 <handler
1222 class="eu.etaxonomy.taxeditor.editor.handler.ToggleLeftRightInsertionHandler"
1223 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion">
1224 </handler>
1225 </extension>
1226 <extension
1227 name="%extension.name"
1228 point="org.eclipse.ui.commands">
1229 <category
1230 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1231 name="%category.name.0">
1232 </category>
1233 <command
1234 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1235 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1236 id="eu.etaxonomy.taxeditor.editor.command.openParent"
1237 name="%command.name">
1238 </command>
1239 <command
1240 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1241 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1242 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1243 name="%command.name.0">
1244 </command>
1245 <command
1246 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1247 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1248 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1249 name="%command.name.1">
1250 </command>
1251 <command
1252 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1253 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1254 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1255 name="%command.name.2">
1256 </command>
1257 <command
1258 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1259 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1260 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1261 name="%command.name.36">
1262 </command>
1263 <!--command
1264 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1265 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1266 name="Move Taxon">
1267 </command-->
1268 <command
1269 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1270 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1271 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1272 name="%command.name.3">
1273 </command>
1274 <command
1275 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1276 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1277 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1278 name="%command.name.4">
1279 </command>
1280 <command
1281 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1282 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1283 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1284 name="%command.name.5">
1285 </command>
1286 <command
1287 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1288 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1289 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1290 name="%command.name.6">
1291 </command>
1292 <command
1293 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1294 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1295 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1296 name="%command.name.7">
1297 </command>
1298 <command
1299 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1300 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1301 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1302 name="%command.name.8">
1303 </command>
1304 <!-- <command
1305 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1306 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1307 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1308 name="Change Accepted Taxon to Synonym">
1309 </command>-->
1310 <command
1311 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1312 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1313 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1314 name="%command.name.9">
1315 </command>
1316 <category
1317 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1318 name="%category.name.1">
1319 </category>
1320 <command
1321 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1322 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1323 id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
1324 name="%command.name.10">
1325 </command>
1326 <command
1327 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1328 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1329 id="eu.etaxonomy.taxeditor.description.commands.adddescription"
1330 name="%command.name.11">
1331 </command>
1332 <command
1333 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1334 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1335 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1336 name="%command.name.12">
1337 </command>
1338 <command
1339 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1340 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1341 id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1342 name="%command.name.13">
1343 </command>
1344 <category
1345 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1346 name="%category.name.2">
1347 </category>
1348 <command
1349 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1350 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1351 id="eu.etaxonomy.taxeditor.use.commands.adduse"
1352 name="%command.name.14">
1353 </command>
1354 <command
1355 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1356 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1357 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1358 name="%command.name.15">
1359 </command>
1360 <command
1361 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1362 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1363 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1364 name="%command.name.16">
1365 </command>
1366 <category
1367 id="eu.etaxonomy.taxeditor.editor.media.category"
1368 name="%category.name.3">
1369 </category>
1370 <command
1371 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1372 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1373 id="taxeditor-editor.command.moveimgdown"
1374 name="%command.name.19">
1375 </command>
1376 <command
1377 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1378 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1379 id="taxeditor-editor.command.newimagegallery"
1380 name="%command.name.20">
1381 </command>
1382 <command
1383 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1384 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1385 id="taxeditor-editor.newimage"
1386 name="%command.name.21">
1387 </command>
1388 <command
1389 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1390 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1391 id="taxeditor-editor.useExistingImage"
1392 name="%command.name.37">
1393 </command>
1394 <command
1395 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1396 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1397 id="taxeditor-editor.command.moveimgup"
1398 name="%command.name.22">
1399 </command>
1400 <category
1401 id="eu.etaxonomy.taxeditor.editor.new.category"
1402 name="%category.name.4">
1403 </category>
1404 <command
1405 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1406 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1407 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1408 name="%command.name.23">
1409 </command>
1410 <command
1411 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1412 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1413 id="eu.etaxonomy.taxeditor.editor.command.new.name"
1414 name="%command.name.24">
1415 </command>
1416 <command
1417 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1418 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1419 id="eu.etaxonomy.taxeditor.editor.command.new.team"
1420 name="%command.name.25">
1421 </command>
1422 <command
1423 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1424 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1425 id="eu.etaxonomy.taxeditor.editor.command.new.person"
1426 name="%command.name.26">
1427 </command>
1428 <command
1429 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1430 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1431 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1432 name="%command.name.27">
1433 </command>
1434 <category
1435 id="eu.etaxonomy.taxeditor.editor.key.category"
1436 name="%category.name.5">
1437 </category>
1438 <command
1439 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1440 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1441 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1442 name="%command.name.28">
1443 </command>
1444 <command
1445 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1446 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1447 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1448 name="%command.name.29">
1449 </command>
1450 <command
1451 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1452 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1453 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1454 name="%command.name.30">
1455 </command>
1456 <command
1457 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1458 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1459 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1460 name="%command.name.31">
1461 </command>
1462 <category
1463 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1464 name="%category.name.6">
1465 </category>
1466 <command
1467 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1468 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1469 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1470 name="%command.name.32">
1471 </command>
1472 <command
1473 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1474 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1475 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1476 name="%command.name.33">
1477 </command>
1478 <category
1479 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1480 name="%category.name.7">
1481 </category>
1482 <command
1483 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1484 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1485 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1486 name="%command.name.34">
1487 </command>
1488 <command
1489 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1490 id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1491 name="%command.name.35">
1492 </command>
1493 <command
1494 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1495 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1496 name="%command.name.38">
1497 </command>
1498 <command
1499 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1500 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1501 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1502 name="%command.name.39">
1503 </command>
1504 <command
1505 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditorHandler"
1506 id="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
1507 name="Open Alignment Editor">
1508 </command>
1509 <command
1510 id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
1511 name="Load Pherogram">
1512 </command>
1513 <command
1514 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1515 name="Show Only Individual Associations">
1516 </command>
1517 <command
1518 id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite"
1519 name="Toggle insert/overwrite">
1520 </command>
1521 <command
1522 id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion"
1523 name="Toggle left/right insertion in base call sequence">
1524 </command>
1525 <command
1526 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1527 id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1528 name="Open Taxon Editor">
1529 <commandParameter
1530 id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1531 name="taxonUUID"
1532 optional="false"
1533 typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1534 </commandParameter>
1535 </command>
1536 <commandParameterType
1537 converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1538 id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1539 type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1540 </commandParameterType>
1541 <command
1542 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1543 id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1544 name="Create Field Unit">
1545 </command>
1546 <command
1547 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1548 id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1549 name="Deep Delete">
1550 </command>
1551 <command
1552 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
1553 id="eu.etaxonomy.taxeditor.editor.handler.OpenFixClassificationHierarchyHandler"
1554 name="Fix Classification Hierarchy">
1555 </command>
1556 <command
1557 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.EditSequenceHandler"
1558 id="eu.etaxonomy.taxeditor.editor.editSequence"
1559 name="Edit Sequence">
1560 </command>
1561 <command
1562 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowPherogramHandler"
1563 id="eu.etaxonomy.taxeditor.editor.showPherogram"
1564 name="Show Pherogram">
1565 </command>
1566 </extension>
1567 <extension
1568 point="org.eclipse.core.expressions.definitions">
1569 <definition
1570 id="nameEditorActive">
1571 <with
1572 variable="activeEditorId">
1573 <equals
1574 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1575 </equals>
1576 </with>
1577 </definition>
1578 <definition
1579 id="isAcceptedTaxon">
1580 <with
1581 variable="selection">
1582 <test
1583 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1584 </test>
1585 </with>
1586 </definition>
1587 <definition
1588 id="isSynonym">
1589 <with
1590 variable="selection">
1591 <test
1592 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1593 </test>
1594 </with>
1595 </definition>
1596 <definition
1597 id="isMisapplication">
1598 <with
1599 variable="selection">
1600 <test
1601 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1602 </test>
1603 </with>
1604 </definition>
1605 <definition
1606 id="isTaxonBase">
1607 <with
1608 variable="selection">
1609 <test
1610 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1611 </test>
1612 </with>
1613 </definition>
1614 <definition
1615 id="hasEmptyNames">
1616 <with
1617 variable="selection">
1618 <test
1619 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1620 </test>
1621 </with>
1622 </definition>
1623 <definition
1624 id="isDeletable">
1625 <with
1626 variable="selection">
1627 <test
1628 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1629 </test>
1630 </with>
1631 </definition>
1632 <definition
1633 id="isMedia">
1634 <with
1635 variable="selection">
1636 <test
1637 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1638 </test>
1639 </with>
1640 </definition>
1641 <definition
1642 id="isTaxonEditor">
1643 <with
1644 variable="selection">
1645 <test
1646 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1647 </test>
1648 </with>
1649 </definition>
1650 <definition
1651 id="isBulkEditor">
1652 <with
1653 variable="selection">
1654 <test
1655 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1656 </test>
1657 </with>
1658 </definition>
1659 <definition
1660 id="isDerivateEditor">
1661 <with
1662 variable="selection">
1663 <test
1664 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1665 </test>
1666 </with>
1667 </definition>
1668 <definition
1669 id="isDescription">
1670 <with
1671 variable="selection">
1672 <test
1673 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1674 </test>
1675 </with>
1676 </definition>
1677 <definition
1678 id="isDescriptionElement">
1679 <with
1680 variable="selection">
1681 <test
1682 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1683 </test>
1684 </with>
1685 </definition>
1686 <definition
1687 id="isFeatureNodeContainer">
1688 <with
1689 variable="selection">
1690 <test
1691 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1692 </test>
1693 </with>
1694 </definition>
1695 <definition
1696 id="isImageGallery">
1697 <with
1698 variable="selection">
1699 <test
1700 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1701 </test>
1702 </with>
1703 </definition>
1704 <definition
1705 id="isAcceptedAndHasNoHomotypicSynonyms">
1706 <with
1707 variable="selection">
1708 <test
1709 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1710 </test>
1711 </with>
1712 </definition>
1713 <definition
1714 id="isGroup">
1715 <with
1716 variable="activeEditor">
1717 <test
1718 property="taxeditor-bulkeditor.propertyTester.isGroup">
1719 </test>
1720 </with>
1721 </definition>
1722 <definition
1723 id="isSequence">
1724 <with
1725 variable="selection">
1726 <test
1727 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1728 </test>
1729 </with>
1730 </definition>
1731 <definition
1732 id="isSingleRead">
1733 <with
1734 variable="selection">
1735 <test
1736 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1737 </test>
1738 </with>
1739 </definition>
1740 </extension>
1741 <extension
1742 point="org.eclipse.core.expressions.propertyTesters">
1743 <propertyTester
1744 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1745 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1746 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1747 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1748 type="org.eclipse.jface.viewers.IStructuredSelection">
1749 </propertyTester>
1750 <propertyTester
1751 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1752 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1753 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1754 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
1755 type="org.eclipse.jface.viewers.TreeSelection">
1756 </propertyTester>
1757 <propertyTester
1758 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1759 id="taxeditor-bulkeditor.PropertyTester"
1760 namespace="taxeditor-bulkeditor.propertyTester"
1761 properties="isGroup"
1762 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1763 </propertyTester>
1764 <propertyTester
1765 class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1766 id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1767 namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1768 properties="isSequence,isSingleRead"
1769 type="org.eclipse.jface.viewers.IStructuredSelection">
1770 </propertyTester>
1771 </extension>
1772 <extension
1773 point="org.eclipse.ui.bindings">
1774 <scheme
1775 description="%scheme.description"
1776 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1777 name="%scheme.name">
1778 </scheme>
1779 <key
1780 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
1781 schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
1782 sequence="M1+O">
1783 </key>
1784 </extension>
1785 <extension
1786 point="org.eclipse.ui.importWizards">
1787 <wizard
1788 category="eu.etaxonomy.taxeditor.import.category.cdm"
1789 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1790 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1791 name="%wizard.name">
1792 <description>
1793 %wizard.description
1794 </description>
1795 </wizard>
1796 </extension>
1797 <extension
1798 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1799 <cdmViewer
1800 class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1801 </cdmViewer>
1802 </extension>
1803 </plugin>