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