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