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