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