3c5382273559cd4df1926afacf919f9792fb85ab
[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="%extension.name.0" 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="%markerContentGenerator.name">
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="eu.etaxonomy.taxeditor.editor.name.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 <command
544 commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
545 label="%command.label.56"
546 style="push">
547 <visibleWhen>
548 <reference
549 definitionId="isSynonym">
550 </reference>
551 </visibleWhen>
552 </command>
553 <separator
554 name="taxeditor-editor.separator3"
555 visible="true">
556 </separator>
557 <command
558 commandId="org.eclipse.ui.views.showView"
559 label="%command.label.18"
560 style="push">
561 <parameter
562 name="org.eclipse.ui.views.showView.viewId"
563 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
564 </parameter>
565 </command>
566 <separator
567 name="taxeditor-editor.separator4"
568 visible="true">
569 </separator>
570 <command
571 commandId="org.eclipse.ui.file.save"
572 label="%command.label.19"
573 style="push">
574 </command>
575 </menuContribution>
576 <menuContribution
577 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
578 <command
579 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
580 label="%command.label.20"
581 style="push">
582 </command>
583 <separator
584 name="taxeditor-editor.separator1"
585 visible="true">
586 </separator>
587 <command
588 commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
589 label="%command.label.21"
590 style="push">
591 </command>
592 <separator
593 name="taxeditor-editor.separator2"
594 visible="true">
595 </separator>
596 <command
597 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
598 label="%command.label.22"
599 style="push">
600 </command>
601 <separator
602 name="taxeditor-editor.separator3"
603 visible="true">
604 </separator>
605 </menuContribution>
606 <menuContribution
607 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
608 <command
609 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
610 label="%command.label.23"
611 style="push">
612 </command>
613 <command
614 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
615 label="%command.label.24"
616 style="push">
617 </command>
618 <command
619 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
620 label="%command.label.25"
621 style="push">
622 </command>
623 <command
624 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
625 label="%command.label.26"
626 style="push">
627 </command>
628 </menuContribution>
629 <menuContribution
630 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
631 <command
632 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
633 label="%command.label.27"
634 style="push">
635 </command>
636 <separator
637 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
638 visible="true">
639 </separator>
640 <menu
641 label="%menu.label.1">
642 <dynamic
643 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
644 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
645 </dynamic>
646 <visibleWhen
647 checkEnabled="true">
648 <or>
649 <reference
650 definitionId="isDescription">
651 </reference>
652 <reference
653 definitionId="isDescriptionElement">
654 </reference>
655 <reference
656 definitionId="isFeatureNodeContainer">
657 </reference>
658 </or>
659 </visibleWhen>
660 </menu>
661 <separator
662 name="taxeditor-editor.separator1"
663 visible="true">
664 </separator>
665 <command
666 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
667 label="%command.label.51"
668 style="push">
669 <visibleWhen
670 checkEnabled="true">
671 <and>
672 <with
673 variable="selection">
674 <count
675 value="+">
676 </count>
677 </with>
678 <reference
679 definitionId="isIndividualsAssociation">
680 </reference>
681 </and>
682 </visibleWhen>
683 </command>
684 <command
685 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
686 label="%command.label.28"
687 style="push">
688 <visibleWhen
689 checkEnabled="true">
690 <reference
691 definitionId="isDescription">
692 </reference>
693 </visibleWhen>
694 </command>
695 <command
696 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
697 label="%command.label.29"
698 style="push">
699 <visibleWhen
700 checkEnabled="true">
701 <or>
702 <reference
703 definitionId="isDescriptionElement">
704 </reference>
705 <reference
706 definitionId="isFeatureNodeContainer">
707 </reference>
708 </or>
709 </visibleWhen>
710 </command>
711 <separator
712 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
713 visible="true">
714 </separator>
715 <command
716 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
717 label="%command.label.30"
718 style="push">
719 </command>
720 <separator
721 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
722 visible="true">
723 </separator>
724 <command
725 commandId="org.eclipse.ui.file.save"
726 label="%command.label.31"
727 style="push">
728 </command>
729 <separator
730 name="eu.etaxonomy.taxeditor.editor.separator1">
731 </separator>
732 </menuContribution>
733 <menuContribution
734 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
735 <command
736 commandId="eu.etaxonomy.taxeditor.editor.derivate.delete"
737 label="%command.label.52"
738 style="push">
739 </command>
740 <command
741 commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
742 label="%command.label.53"
743 style="push">
744 </command>
745 <command
746 commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
747 icon="icons/deep-delete-16x16-32.png"
748 label="%command.label.54"
749 style="push">
750 </command>
751 <command
752 commandId="eu.etaxonomy.taxeditor.editor.editSequence"
753 label="Edit Sequence"
754 style="push">
755 <visibleWhen
756 checkEnabled="true">
757 <reference
758 definitionId="isSequence">
759 </reference>
760 </visibleWhen>
761 </command>
762 <command
763 commandId="eu.etaxonomy.taxeditor.editor.showPherogram"
764 label="Show Pherogram"
765 style="push">
766 <visibleWhen
767 checkEnabled="true">
768 <reference
769 definitionId="isSingleRead">
770 </reference>
771 </visibleWhen>
772 </command>
773 <dynamic
774 class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
775 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
776 </dynamic>
777 </menuContribution>
778 <menuContribution
779 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
780 <dynamic
781 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
782 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
783 </dynamic>
784 </menuContribution>
785 <menuContribution
786 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
787 <dynamic
788 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
789 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
790 </dynamic>
791 </menuContribution>
792
793
794
795
796 <menuContribution
797 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
798 <command
799 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
800 label="%command.label.32"
801 style="push">
802 </command>
803 <command
804 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
805 label="%command.label.33"
806 style="push">
807 <visibleWhen
808 checkEnabled="true">
809 <or>
810 <reference
811 definitionId="isDescription">
812 </reference>
813 <reference
814 definitionId="isDescriptionElement">
815 </reference>
816 <reference
817 definitionId="isFeatureNodeContainer">
818 </reference>
819 </or>
820 </visibleWhen>
821 </command>
822 <command
823 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
824 label="%command.label.34"
825 style="push">
826 <visibleWhen
827 checkEnabled="true">
828 <or>
829 <reference
830 definitionId="isDescription">
831 </reference>
832 <reference
833 definitionId="isDescriptionElement">
834 </reference>
835 <reference
836 definitionId="isFeatureNodeContainer">
837 </reference>
838 </or>
839 </visibleWhen>
840 </command>
841 <separator
842 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
843 visible="true">
844 </separator>
845 <separator
846 name="taxeditor-editor.separator1"
847 visible="true">
848 </separator>
849 <separator
850 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
851 visible="true">
852 </separator>
853 <command
854 commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
855 label="%command.label.35"
856 style="push">
857 </command>
858 <separator
859 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
860 visible="true">
861 </separator>
862 <command
863 commandId="org.eclipse.ui.file.save"
864 label="%command.label.36"
865 style="push">
866 </command>
867 </menuContribution>
868
869
870
871
872
873 <menuContribution
874 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
875 <command
876 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
877 label="%command.label.37"
878 style="push">
879 <visibleWhen>
880 <or>
881 <reference
882 definitionId="isBulkEditor">
883 </reference>
884 <reference
885 definitionId="isTaxonEditor">
886 </reference>
887 <reference
888 definitionId="isDerivateEditor">
889 </reference>
890 </or>
891 </visibleWhen>
892 </command>
893 <separator
894 name="taxeditor-editor.separator1"
895 visible="true">
896 </separator>
897 <command
898 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
899 label="%command.label.38"
900 style="push">
901 <visibleWhen>
902 <reference
903 definitionId="isImageGallery">
904 </reference>
905 </visibleWhen>
906 </command>
907 <command
908 commandId="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
909 label="%command.label.50"
910 style="push">
911 <visibleWhen>
912 <reference
913 definitionId="isImageGallery">
914 </reference>
915 </visibleWhen>
916 </command>
917 <command
918 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
919 label="%command.label.39"
920 style="push">
921 <visibleWhen>
922 <reference
923 definitionId="isMedia">
924 </reference>
925 </visibleWhen>
926 </command>
927 <command
928 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
929 label="%command.label.40"
930 style="push">
931 <visibleWhen>
932 <reference
933 definitionId="isMedia">
934 </reference>
935 </visibleWhen>
936 </command>
937 <separator
938 name="taxeditor-editor.separator2"
939 visible="true">
940 </separator>
941 <command
942 commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
943 label="%command.label.41"
944 style="push">
945 </command>
946 <command
947 commandId="org.eclipse.ui.file.save"
948 label="%command.label.42"
949 style="push">
950 </command>
951 </menuContribution>
952 <menuContribution
953 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
954 <menu
955 label="%menu.label.3">
956 <dynamic
957 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
958 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
959 </dynamic>
960 </menu>
961 <command
962 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
963 label="%command.label.43"
964 style="push">
965 </command>
966 <separator
967 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
968 visible="true">
969 </separator>
970 <command
971 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
972 label="%command.label.44"
973 style="push">
974 </command>
975 </menuContribution>
976 <menuContribution
977 allPopups="false"
978 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
979 <command
980 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
981 label="%command.label.45"
982 style="push">
983 <visibleWhen>
984 <reference
985 definitionId="isGroupEditor">
986 </reference>
987 </visibleWhen>
988 </command>
989 </menuContribution>
990 <menuContribution
991 allPopups="false"
992 locationURI="menu:org.eclipse.ui.main.menu">
993 <menu
994 label="Alignment Editor">
995 <command
996 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
997 label="Load Pherogram"
998 style="push">
999 </command>
1000 <visibleWhen
1001 checkEnabled="true">
1002 <with
1003 variable="activePartId">
1004 <equals
1005 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
1006 </equals>
1007 </with>
1008 </visibleWhen>
1009 </menu>
1010 </menuContribution>
1011 <menuContribution
1012 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
1013 <toolbar
1014 id="eu.etaxonomy.taxeditor.editor.alignmentToolbar">
1015 <command
1016 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite"
1017 label="Toggle insert/overwrite"
1018 style="push">
1019 <visibleWhen
1020 checkEnabled="true">
1021 <with
1022 variable="activePartId">
1023 <equals
1024 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
1025 </equals>
1026 </with>
1027 </visibleWhen>
1028 </command>
1029 <command
1030 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion"
1031 icon="icons/pherogram-insert-left-16x16.png"
1032 style="push">
1033 <visibleWhen
1034 checkEnabled="false">
1035 <with
1036 variable="activePartId">
1037 <equals
1038 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
1039 </equals>
1040 </with>
1041 </visibleWhen>
1042 </command>
1043 </toolbar>
1044 </menuContribution>
1045
1046 <menuContribution
1047 allPopups="false"
1048 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1049 <command
1050 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1051 icon="icons/link_obj.gif"
1052 style="toggle"
1053 tooltip="%command.tooltip">
1054 </command>
1055 </menuContribution>
1056 <menuContribution
1057 allPopups="false"
1058 locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
1059 <command
1060 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1061 label="%command.label.55"
1062 style="push">
1063 <visibleWhen
1064 checkEnabled="false">
1065 <and>
1066 <reference
1067 definitionId="isCdmStoreConnected">
1068 </reference>
1069 <reference
1070 definitionId="isTaxonNode">
1071 </reference>
1072 </and>
1073 </visibleWhen>
1074 </command>
1075 <separator
1076 name="eu.etaxonomy.taxeditor.editor.separator1"
1077 visible="true">
1078 </separator>
1079 </menuContribution>
1080 <menuContribution
1081 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
1082 <separator
1083 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
1084 visible="true">
1085 </separator>
1086 <command
1087 commandId="org.eclipse.ui.views.showView"
1088 label="%command.name.40"
1089 style="push">
1090 <parameter
1091 name="org.eclipse.ui.views.showView.viewId"
1092 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
1093 </parameter>
1094 </command>
1095 </menuContribution>
1096 </extension>
1097 <extension
1098 point="org.eclipse.ui.handlers">
1099 <handler
1100 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1101 commandId="org.eclipse.ui.window.newEditor">
1102 <activeWhen>
1103 <not>
1104 <instanceof
1105 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1106 </instanceof>
1107 </not>
1108 </activeWhen>
1109 <enabledWhen>
1110 <count
1111 value="-1">
1112 </count>
1113 </enabledWhen>
1114 </handler>
1115 <handler
1116 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1117 commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
1118 <activeWhen>
1119 <and>
1120 <reference
1121 definitionId="isTaxonBase">
1122 </reference>
1123 <not>
1124 <reference
1125 definitionId="isAcceptedTaxon">
1126 </reference>
1127 </not>
1128 </and>
1129 </activeWhen>
1130 </handler>
1131 <handler
1132 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1133 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete">
1134 <activeWhen>
1135 <with
1136 variable="activePartId">
1137 <or>
1138 <equals
1139 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1140 </equals>
1141 <equals
1142 value="eu.etaxonomy.taxeditor.editor.view.media">
1143 </equals>
1144 <equals
1145 value="eu.etaxonomy.taxeditor.editor.view.uses">
1146 </equals>
1147 </or>
1148 </with>
1149 </activeWhen>
1150 </handler>
1151 <handler
1152 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1153 commandId="eu.etaxonomy.taxeditor.editor.key.polytomous.command.delete">
1154 <activeWhen>
1155 <with
1156 variable="activePartId">
1157 <equals
1158 value="eu.etaxonomy.taxeditor.editor.key">
1159 </equals>
1160 </with>
1161 </activeWhen>
1162 </handler>
1163 <handler
1164 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1165 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete">
1166 <activeWhen>
1167 <with
1168 variable="activePartId">
1169 <equals
1170 value="eu.etaxonomy.taxeditor.editor.view.concept">
1171 </equals>
1172 </with>
1173 </activeWhen>
1174 </handler>
1175 <handler
1176 class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1177 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1178 </handler>
1179 <handler
1180 class="eu.etaxonomy.taxeditor.editor.handler.LoadPherogramHandler"
1181 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram">
1182 <activeWhen>
1183 <with
1184 variable="activePartId">
1185 <equals
1186 value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
1187 </equals>
1188 </with>
1189 </activeWhen>
1190 </handler>
1191 <handler
1192 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1193 commandId="eu.etaxonomy.taxeditor.editor.view.derivate.command.delete">
1194 <activeWhen>
1195 <with
1196 variable="activePartId">
1197 <equals
1198 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1199 </equals>
1200 </with>
1201 </activeWhen>
1202 </handler>
1203 <handler
1204 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1205 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1206 <activeWhen>
1207 <with
1208 variable="activePartId">
1209 <equals
1210 value="eu.etaxonomy.taxeditor.navigation.navigator">
1211 </equals>
1212 </with>
1213 </activeWhen>
1214 </handler>
1215 <handler
1216 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1217 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1218 </handler>
1219 <handler
1220 class="eu.etaxonomy.taxeditor.editor.handler.alignmenteditor.ToggleInsertOverwriteHandler"
1221 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite">
1222 </handler>
1223 <handler
1224 class="eu.etaxonomy.taxeditor.editor.handler.alignmenteditor.ToggleLeftRightInsertionHandler"
1225 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion">
1226 </handler>
1227 </extension>
1228 <extension
1229 name="%extension.name"
1230 point="org.eclipse.ui.commands">
1231 <category
1232 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1233 name="%category.name.0">
1234 </category>
1235 <command
1236 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1237 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1238 id="eu.etaxonomy.taxeditor.editor.command.openParent"
1239 name="%command.name">
1240 </command>
1241 <command
1242 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1243 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1244 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1245 name="%command.name.0">
1246 </command>
1247 <command
1248 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1249 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1250 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1251 name="%command.name.1">
1252 </command>
1253 <command
1254 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1255 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1256 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1257 name="%command.name.2">
1258 </command>
1259 <command
1260 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1261 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1262 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1263 name="%command.name.36">
1264 </command>
1265 <!--command
1266 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1267 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1268 name="Move Taxon">
1269 </command-->
1270 <command
1271 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1272 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1273 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1274 name="%command.name.3">
1275 </command>
1276 <command
1277 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1278 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1279 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1280 name="%command.name.4">
1281 </command>
1282 <command
1283 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1284 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1285 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1286 name="%command.name.5">
1287 </command>
1288 <command
1289 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1290 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1291 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1292 name="%command.name.6">
1293 </command>
1294 <command
1295 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1296 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1297 id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1298 name="%command.name.46">
1299 </command>
1300 <command
1301 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1302 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1303 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1304 name="%command.name.7">
1305 </command>
1306 <command
1307 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1308 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1309 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1310 name="%command.name.8">
1311 </command>
1312 <!-- <command
1313 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1314 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1315 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1316 name="Change Accepted Taxon to Synonym">
1317 </command>-->
1318 <command
1319 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1320 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1321 id="eu.etaxonomy.taxeditor.editor.name.delete"
1322 name="%command.name.45">
1323 </command>
1324 <command
1325 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1326 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1327 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1328 name="%command.name.9">
1329 </command>
1330 <category
1331 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1332 name="%category.name.1">
1333 </category>
1334 <command
1335 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1336 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1337 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1338 name="%command.name.10">
1339 </command>
1340 <command
1341 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1342 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1343 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1344 name="%command.name.11">
1345 </command>
1346 <command
1347 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1348 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1349 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1350 name="%command.name.48">
1351 </command>
1352 <category
1353 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1354 name="%category.name.2">
1355 </category>
1356 <command
1357 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1358 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1359 id="eu.etaxonomy.taxeditor.use.commands.adduse"
1360 name="%command.name.14">
1361 </command>
1362 <command
1363 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1364 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1365 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1366 name="%command.name.16">
1367 </command>
1368 <command
1369 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1370 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1371 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1372 name="%command.name.15">
1373 </command>
1374 <command
1375 id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1376 name="%command.name.47">
1377 </command>
1378 <category
1379 id="eu.etaxonomy.taxeditor.editor.media.category"
1380 name="%category.name.3">
1381 </category>
1382 <command
1383 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1384 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1385 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1386 name="%command.name.19">
1387 </command>
1388 <command
1389 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1390 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1391 id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1392 name="%command.name.20">
1393 </command>
1394 <command
1395 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1396 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1397 id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1398 name="%command.name.21">
1399 </command>
1400 <command
1401 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1402 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1403 id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1404 name="%command.name.37">
1405 </command>
1406 <command
1407 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1408 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1409 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1410 name="%command.name.22">
1411 </command>
1412 <command
1413 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1414 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1415 id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1416 name="%command.name.49">
1417 </command>
1418 <category
1419 id="eu.etaxonomy.taxeditor.editor.new.category"
1420 name="%category.name.4">
1421 </category>
1422 <command
1423 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1424 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1425 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1426 name="%command.name.23">
1427 </command>
1428 <command
1429 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1430 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1431 id="eu.etaxonomy.taxeditor.editor.command.new.name"
1432 name="%command.name.24">
1433 </command>
1434 <command
1435 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1436 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1437 id="eu.etaxonomy.taxeditor.editor.command.new.team"
1438 name="%command.name.25">
1439 </command>
1440 <command
1441 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1442 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1443 id="eu.etaxonomy.taxeditor.editor.command.new.person"
1444 name="%command.name.26">
1445 </command>
1446 <command
1447 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1448 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1449 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1450 name="%command.name.27">
1451 </command>
1452 <category
1453 id="eu.etaxonomy.taxeditor.editor.key.category"
1454 name="%category.name.5">
1455 </category>
1456 <command
1457 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1458 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1459 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1460 name="%command.name.28">
1461 </command>
1462 <command
1463 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1464 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1465 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1466 name="%command.name.29">
1467 </command>
1468 <command
1469 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1470 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1471 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1472 name="%command.name.30">
1473 </command>
1474 <command
1475 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1476 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1477 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1478 name="%command.name.31">
1479 </command>
1480 <command
1481 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1482 id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1483 name="%command.name.50">
1484 </command>
1485 <category
1486 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1487 name="%category.name.6">
1488 </category>
1489 <command
1490 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1491 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1492 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1493 name="%command.name.32">
1494 </command>
1495 <command
1496 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1497 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1498 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1499 name="%command.name.33">
1500 </command>
1501 <category
1502 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1503 name="%category.name.7">
1504 </category>
1505 <command
1506 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1507 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1508 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1509 name="%command.name.34">
1510 </command>
1511 <command
1512 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1513 id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1514 name="%command.name.35">
1515 </command>
1516 <command
1517 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1518 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1519 name="%command.name.38">
1520 </command>
1521 <command
1522 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1523 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1524 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1525 name="%command.name.39">
1526 </command>
1527 <command
1528 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditorHandler"
1529 id="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
1530 name="Open Alignment Editor">
1531 </command>
1532 <command
1533 id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
1534 name="Load Pherogram">
1535 </command>
1536 <command
1537 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1538 name="%command.name.41">
1539 </command>
1540 <command
1541 id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite"
1542 name="Toggle insert/overwrite">
1543 </command>
1544 <command
1545 id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion"
1546 name="Toggle left/right insertion in base call sequence">
1547 </command>
1548 <command
1549 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1550 id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1551 name="%command.name.42">
1552 <commandParameter
1553 id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1554 name="%commandParameter.name"
1555 optional="false"
1556 typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1557 </commandParameter>
1558 </command>
1559 <commandParameterType
1560 converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1561 id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1562 type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1563 </commandParameterType>
1564 <command
1565 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1566 id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1567 name="%command.name.43">
1568 </command>
1569 <command
1570 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1571 id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1572 name="%command.name.44">
1573 </command>
1574 <command
1575 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1576 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1577 id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1578 name="%command.name.13">
1579 </command>
1580 <command
1581 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1582 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1583 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1584 name="%command.name.12">
1585 </command>
1586 <command
1587 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.EditSequenceHandler"
1588 id="eu.etaxonomy.taxeditor.editor.editSequence"
1589 name="Edit Sequence">
1590 </command>
1591 <command
1592 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowPherogramHandler"
1593 id="eu.etaxonomy.taxeditor.editor.showPherogram"
1594 name="Show Pherogram">
1595 </command>
1596 </extension>
1597 <extension
1598 point="org.eclipse.core.expressions.definitions">
1599 <definition
1600 id="nameEditorActive">
1601 <with
1602 variable="activeEditorId">
1603 <equals
1604 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1605 </equals>
1606 </with>
1607 </definition>
1608 <definition
1609 id="isAcceptedTaxon">
1610 <with
1611 variable="selection">
1612 <test
1613 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1614 </test>
1615 </with>
1616 </definition>
1617 <definition
1618 id="isSynonym">
1619 <with
1620 variable="selection">
1621 <test
1622 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1623 </test>
1624 </with>
1625 </definition>
1626 <definition
1627 id="isMisapplication">
1628 <with
1629 variable="selection">
1630 <test
1631 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1632 </test>
1633 </with>
1634 </definition>
1635 <definition
1636 id="isTaxonBase">
1637 <with
1638 variable="selection">
1639 <test
1640 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1641 </test>
1642 </with>
1643 </definition>
1644 <definition
1645 id="hasEmptyNames">
1646 <with
1647 variable="selection">
1648 <test
1649 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1650 </test>
1651 </with>
1652 </definition>
1653 <definition
1654 id="isDeletable">
1655 <with
1656 variable="selection">
1657 <test
1658 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1659 </test>
1660 </with>
1661 </definition>
1662 <definition
1663 id="isMedia">
1664 <with
1665 variable="selection">
1666 <test
1667 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1668 </test>
1669 </with>
1670 </definition>
1671 <definition
1672 id="isTaxonEditor">
1673 <with
1674 variable="selection">
1675 <test
1676 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1677 </test>
1678 </with>
1679 </definition>
1680 <definition
1681 id="isBulkEditor">
1682 <with
1683 variable="selection">
1684 <test
1685 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1686 </test>
1687 </with>
1688 </definition>
1689 <definition
1690 id="isDerivateEditor">
1691 <with
1692 variable="selection">
1693 <test
1694 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1695 </test>
1696 </with>
1697 </definition>
1698 <definition
1699 id="isDescription">
1700 <with
1701 variable="selection">
1702 <test
1703 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1704 </test>
1705 </with>
1706 </definition>
1707 <definition
1708 id="isDescriptionElement">
1709 <with
1710 variable="selection">
1711 <test
1712 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1713 </test>
1714 </with>
1715 </definition>
1716 <definition
1717 id="isFeatureNodeContainer">
1718 <with
1719 variable="selection">
1720 <test
1721 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1722 </test>
1723 </with>
1724 </definition>
1725 <definition
1726 id="isImageGallery">
1727 <with
1728 variable="selection">
1729 <test
1730 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1731 </test>
1732 </with>
1733 </definition>
1734 <definition
1735 id="isAcceptedAndHasNoHomotypicSynonyms">
1736 <with
1737 variable="selection">
1738 <test
1739 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1740 </test>
1741 </with>
1742 </definition>
1743 <definition
1744 id="isGroupEditor">
1745 <with
1746 variable="activeEditor">
1747 <test
1748 property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1749 </test>
1750 </with>
1751 </definition>
1752 <definition
1753 id="isIndividualsAssociation">
1754 <with
1755 variable="selection">
1756 <test
1757 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1758 </test>
1759 </with>
1760 </definition>
1761 <definition
1762 id="isSequence">
1763 <with
1764 variable="selection">
1765 <test
1766 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1767 </test>
1768 </with>
1769 </definition>
1770 <definition
1771 id="isSingleRead">
1772 <with
1773 variable="selection">
1774 <test
1775 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1776 </test>
1777 </with>
1778 </definition>
1779 </extension>
1780 <extension
1781 point="org.eclipse.core.expressions.propertyTesters">
1782 <propertyTester
1783 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1784 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1785 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1786 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1787 type="org.eclipse.jface.viewers.IStructuredSelection">
1788 </propertyTester>
1789 <propertyTester
1790 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1791 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1792 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1793 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1794 type="org.eclipse.jface.viewers.TreeSelection">
1795 </propertyTester>
1796 <propertyTester
1797 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1798 id="taxeditor-bulkeditor.PropertyTester"
1799 namespace="taxeditor-bulkeditor.propertyTester"
1800 properties="isGroupEditor"
1801 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1802 </propertyTester>
1803 <propertyTester
1804 class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1805 id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1806 namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1807 properties="isSequence,isSingleRead"
1808 type="org.eclipse.jface.viewers.IStructuredSelection">
1809 </propertyTester>
1810 </extension>
1811 <extension
1812 point="org.eclipse.ui.bindings">
1813 <scheme
1814 description="%scheme.description"
1815 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1816 name="%scheme.name">
1817 </scheme>
1818 <key
1819 commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
1820 schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
1821 sequence="M1+O">
1822 </key>
1823 </extension>
1824 <extension
1825 point="org.eclipse.ui.importWizards">
1826 <wizard
1827 category="eu.etaxonomy.taxeditor.import.category.cdm"
1828 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1829 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1830 name="%wizard.name">
1831 <description>
1832 %wizard.description
1833 </description>
1834 </wizard>
1835 </extension>
1836 <extension
1837 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1838 <cdmViewer
1839 class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1840 </cdmViewer>
1841 </extension>
1842 </plugin>