Enhance handling of simple and advanced media view
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 id="application"
6 point="org.eclipse.core.runtime.applications">
7 <application>
8 <run
9 class="eu.etaxonomy.taxeditor.editor.Application">
10 </run>
11 </application>
12 </extension>
13 <extension
14 point="org.eclipse.core.runtime.adapters">
15 <factory
16 adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18 <adapter
19 type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20 </adapter>
21 </factory>
22 </extension>
23 <extension
24 point="org.eclipse.ui.editors">
25 <editor
26 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27 icon="icons/edit_16x16.gif"
28 id="eu.etaxonomy.taxeditor.editor.taxon"
29 name="%editor.name">
30 </editor>
31 <editor
32 class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33 default="true"
34 id="eu.etaxonomy.taxeditor.editor.taxon.name"
35 name="%editor.name.0">
36 </editor>
37 <editor
38 class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39 default="false"
40 id="eu.etaxonomy.taxeditor.editor.key"
41 name="%editor.name.1">
42 </editor>
43 <editor
44 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45 default="false"
46 id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47 name="%editor.name.2">
48 </editor>
49 <editor
50 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51 default="false"
52 id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53 name="%editor.name.3">
54 </editor>
55 <editor
56 class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57 default="false"
58 id="eu.etaxonomy.taxeditor.editor.group.authority"
59 name="%editor.name.4">
60 </editor>
61 <editor
62 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
63 default="false"
64 icon="icons/derivate_view-16x16-32.png"
65 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
66 name="%editor.name.5">
67 </editor>
68 <editor
69 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
70 default="false"
71 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
72 name="%editor.name.6">
73 </editor>
74 <editor
75 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
76 default="false"
77 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
78 name="%editor.name.7">
79 </editor>
80 <editor
81 class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
82 icon="icons/check.png"
83 id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
84 name="%editor.name.8">
85 </editor>
86 </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 <command
290 commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
291 label="%command.label.3"
292 style="push">
293 <visibleWhen
294 checkEnabled="true">
295 <reference
296 definitionId="isCdmStoreConnected">
297 </reference>
298 </visibleWhen>
299 </command>
300 <separator
301 name="eu.etaxonomy.navigation.menu.new.separator3"
302 visible="true">
303 </separator>
304 <command
305 commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
306 label="%command.label.48"
307 style="push">
308 <visibleWhen
309 checkEnabled="true">
310 <reference
311 definitionId="isCdmStoreConnected">
312 </reference>
313 </visibleWhen>
314 </command>
315 </menuContribution>
316 <menuContribution
317 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
318 <separator
319 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
320 visible="true">
321 </separator>
322 <command
323 commandId="org.eclipse.ui.views.showView"
324 label="%command.label.4"
325 style="push">
326 <parameter
327 name="org.eclipse.ui.views.showView.viewId"
328 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
329 </parameter>
330 <visibleWhen
331 checkEnabled="true">
332 <reference
333 definitionId="isCdmStoreConnected">
334 </reference>
335 </visibleWhen>
336 </command>
337 <command
338 commandId="org.eclipse.ui.views.showView"
339 label="%command.label.5"
340 style="push">
341 <parameter
342 name="org.eclipse.ui.views.showView.viewId"
343 value="eu.etaxonomy.taxeditor.editor.view.media">
344 </parameter>
345 <visibleWhen
346 checkEnabled="true">
347 <reference
348 definitionId="isCdmStoreConnected">
349 </reference>
350 </visibleWhen>
351 </command>
352 <command
353 commandId="org.eclipse.ui.views.showView"
354 label="%command.label.6"
355 style="push">
356 <parameter
357 name="org.eclipse.ui.views.showView.viewId"
358 value="eu.etaxonomy.taxeditor.editor.view.concept">
359 </parameter>
360 <visibleWhen
361 checkEnabled="true">
362 <reference
363 definitionId="isCdmStoreConnected">
364 </reference>
365 </visibleWhen>
366 </command>
367 <command
368 commandId="org.eclipse.ui.views.showView"
369 label="%command.label.7"
370 style="push">
371 <parameter
372 name="org.eclipse.ui.views.showView.viewId"
373 value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
374 </parameter>
375 <visibleWhen
376 checkEnabled="true">
377 <and>
378 <reference
379 definitionId="isShowExperimentalFeatures">
380 </reference>
381 <reference
382 definitionId="isCdmStoreConnected">
383 </reference>
384 </and>
385 </visibleWhen>
386 </command>
387 </menuContribution>
388 <menuContribution
389 locationURI="menu:org.eclipse.ui.main.menu.navigate">
390 <command
391 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
392 label="%command.label.8"
393 style="push">
394 <visibleWhen
395 checkEnabled="true">
396 <reference
397 definitionId="isCdmStoreConnected">
398 </reference>
399 </visibleWhen>
400 </command>
401 </menuContribution>
402 <menuContribution
403 locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
404 <menu
405 label="%menu.label">
406 <command
407 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
408 label="%command.label.9"
409 style="push">
410 <visibleWhen>
411 <reference
412 definitionId="isAcceptedTaxon">
413 </reference>
414 </visibleWhen>
415 </command>
416 <command
417 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
418 label="%command.label.10"
419 style="push">
420 <visibleWhen>
421 <reference
422 definitionId="isAcceptedTaxon">
423 </reference>
424 </visibleWhen>
425 </command>
426 <command
427 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
428 label="%command.label.11"
429 style="push">
430 <visibleWhen>
431 <reference
432 definitionId="isSynonym">
433 </reference>
434 </visibleWhen>
435 </command>
436 <separator
437 name="separator1"
438 visible="true">
439 </separator>
440 <command
441 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
442 label="%command.label.49"
443 style="push">
444 <visibleWhen>
445 <or>
446 <reference
447 definitionId="isAcceptedTaxon">
448 </reference>
449 <reference
450 definitionId="isMisapplication">
451 </reference>
452 </or>
453 </visibleWhen>
454 </command>
455 </menu>
456 <!--<command
457 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
458 label="Change Accepted Taxon to Synonym"
459 style="push">
460 <visibleWhen
461 checkEnabled="true">
462 <reference
463 definitionId="isAcceptedAndHasNoHomotypicSynonyms">
464 </reference>
465 </visibleWhen
466 <visibleWhen>
467 <or>
468 <reference
469 definitionId="isAcceptedTaxon">
470 </reference>
471 <reference
472 definitionId="isMisapplication">
473 </reference>
474 </or>
475 </visibleWhen>
476 </command>-->
477 <menu
478 label="%menu.label.0">
479 <command
480 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
481 label="%command.label.12"
482 style="push">
483 <visibleWhen>
484 <not>
485 <or>
486 <reference
487 definitionId="isAcceptedTaxon">
488 </reference>
489 <reference
490 definitionId="isMisapplication">
491 </reference>
492 </or>
493 </not>
494 </visibleWhen>
495 </command>
496 <command
497 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
498 label="%command.label.13"
499 style="push">
500 <visibleWhen>
501 <not>
502 <or>
503 <reference
504 definitionId="isAcceptedTaxon">
505 </reference>
506 <reference
507 definitionId="isSynonym">
508 </reference>
509 </or>
510 </not>
511 </visibleWhen>
512 </command>
513 <command
514 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
515 label="%command.label.14"
516 style="push">
517 <visibleWhen>
518 <not>
519 <or>
520 <reference
521 definitionId="isAcceptedTaxon">
522 </reference>
523 <reference
524 definitionId="isMisapplication">
525 </reference>
526 </or>
527 </not>
528 </visibleWhen>
529 </command>
530 </menu>
531 <separator
532 name="taxeditor-editor.separator1"
533 visible="true">
534 </separator>
535 <command
536 commandId="eu.etaxonomy.taxeditor.editor.name.delete"
537 label="%command.label.15"
538 style="push">
539 <visibleWhen>
540 <or>
541 <reference
542 definitionId="isSynonym">
543 </reference>
544 <reference
545 definitionId="isMisapplication">
546 </reference>
547 <reference
548 definitionId="isConceptRelation">
549 </reference>
550 </or>
551 </visibleWhen>
552 </command>
553 <command
554 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
555 label="%command.label.16"
556 style="push">
557 <visibleWhen>
558 <reference
559 definitionId="hasEmptyNames">
560 </reference>
561 </visibleWhen>
562 </command>
563 <separator
564 name="taxeditor-editor.separator2"
565 visible="true">
566 </separator>
567 <dynamic
568 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
569 id="taxeditor-editor.dynamic.setBasionym">
570 <visibleWhen>
571 <or>
572 <reference
573 definitionId="isAcceptedTaxon">
574 </reference>
575 <reference
576 definitionId="isSynonym">
577 </reference>
578 </or>
579 </visibleWhen>
580 </dynamic>
581 <command
582 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
583 label="%command.label.17"
584 style="push">
585 <visibleWhen>
586 <reference
587 definitionId="isSynonym">
588 </reference>
589 </visibleWhen>
590 </command>
591 <command
592 commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
593 label="%command.label.56"
594 style="push">
595 <visibleWhen>
596 <reference
597 definitionId="isSynonym">
598 </reference>
599 </visibleWhen>
600 </command>
601 <separator
602 name="taxeditor-editor.separator3"
603 visible="true">
604 </separator>
605 <command
606 commandId="org.eclipse.ui.views.showView"
607 label="%command.label.18"
608 style="push">
609 <parameter
610 name="org.eclipse.ui.views.showView.viewId"
611 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
612 </parameter>
613 </command>
614 <separator
615 name="taxeditor-editor.separator4"
616 visible="true">
617 </separator>
618 <command
619 commandId="org.eclipse.ui.file.save"
620 label="%command.label.19"
621 style="push">
622 </command>
623 </menuContribution>
624 <menuContribution
625 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
626 <command
627 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
628 label="%command.label.20"
629 style="push">
630 </command>
631 <separator
632 name="taxeditor-editor.separator1"
633 visible="true">
634 </separator>
635 <command
636 commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
637 label="%command.label.21"
638 style="push">
639 </command>
640 <separator
641 name="taxeditor-editor.separator2"
642 visible="true">
643 </separator>
644 <command
645 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
646 label="%command.label.22"
647 style="push">
648 </command>
649 <separator
650 name="taxeditor-editor.separator3"
651 visible="true">
652 </separator>
653 </menuContribution>
654 <menuContribution
655 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
656 <command
657 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
658 label="%command.label.23"
659 style="push">
660 </command>
661 <command
662 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
663 label="%command.label.24"
664 style="push">
665 </command>
666 <command
667 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
668 label="%command.label.25"
669 style="push">
670 </command>
671 <command
672 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
673 label="%command.label.26"
674 style="push">
675 </command>
676 </menuContribution>
677 <menuContribution
678 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
679 <command
680 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
681 label="%command.label.27"
682 style="push">
683 </command>
684 <separator
685 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
686 visible="true">
687 </separator>
688 <menu
689 label="%menu.label.1">
690 <dynamic
691 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
692 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
693 </dynamic>
694 <visibleWhen
695 checkEnabled="true">
696 <or>
697 <reference
698 definitionId="isDescription">
699 </reference>
700 <reference
701 definitionId="isDescriptionElement">
702 </reference>
703 <reference
704 definitionId="isFeatureNodeContainer">
705 </reference>
706 </or>
707 </visibleWhen>
708 </menu>
709 <separator
710 name="taxeditor-editor.separator1"
711 visible="true">
712 </separator>
713 <command
714 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
715 label="%command.label.51"
716 style="push">
717 <visibleWhen
718 checkEnabled="true">
719 <and>
720 <with
721 variable="selection">
722 <count
723 value="+">
724 </count>
725 </with>
726 <reference
727 definitionId="isIndividualsAssociation">
728 </reference>
729 </and>
730 </visibleWhen>
731 </command>
732 <command
733 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
734 label="%command.label.28"
735 style="push">
736 <visibleWhen
737 checkEnabled="true">
738 <reference
739 definitionId="isDescription">
740 </reference>
741 </visibleWhen>
742 </command>
743 <command
744 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
745 label="%command.label.29"
746 style="push">
747 <visibleWhen
748 checkEnabled="true">
749 <or>
750 <reference
751 definitionId="isDescriptionElement">
752 </reference>
753 <reference
754 definitionId="isFeatureNodeContainer">
755 </reference>
756 </or>
757 </visibleWhen>
758 </command>
759 <separator
760 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
761 visible="true">
762 </separator>
763 <command
764 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
765 label="%command.label.30"
766 style="push">
767 </command>
768 <separator
769 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
770 visible="true">
771 </separator>
772 <command
773 commandId="org.eclipse.ui.file.save"
774 label="%command.label.31"
775 style="push">
776 </command>
777 <separator
778 name="eu.etaxonomy.taxeditor.editor.separator1">
779 </separator>
780 </menuContribution>
781 <menuContribution
782 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
783 <command
784 commandId="eu.etaxonomy.taxeditor.editor.derivate.delete"
785 label="%command.label.52"
786 style="push">
787 </command>
788 <command
789 commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
790 label="%command.label.53"
791 style="push">
792 </command>
793 <command
794 commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
795 icon="icons/deep-delete-16x16-32.png"
796 label="%command.label.54"
797 style="push">
798 </command>
799 <dynamic
800 class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
801 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
802 </dynamic>
803 </menuContribution>
804 <menuContribution
805 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
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 <menuContribution
812 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
813 <dynamic
814 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
815 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
816 </dynamic>
817 </menuContribution>
818
819
820
821
822 <menuContribution
823 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
824 <command
825 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
826 label="%command.label.32"
827 style="push">
828 </command>
829 <command
830 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
831 label="%command.label.33"
832 style="push">
833 <visibleWhen
834 checkEnabled="true">
835 <or>
836 <reference
837 definitionId="isDescription">
838 </reference>
839 <reference
840 definitionId="isDescriptionElement">
841 </reference>
842 <reference
843 definitionId="isFeatureNodeContainer">
844 </reference>
845 </or>
846 </visibleWhen>
847 </command>
848 <command
849 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
850 label="%command.label.34"
851 style="push">
852 <visibleWhen
853 checkEnabled="true">
854 <or>
855 <reference
856 definitionId="isDescription">
857 </reference>
858 <reference
859 definitionId="isDescriptionElement">
860 </reference>
861 <reference
862 definitionId="isFeatureNodeContainer">
863 </reference>
864 </or>
865 </visibleWhen>
866 </command>
867 <separator
868 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
869 visible="true">
870 </separator>
871 <separator
872 name="taxeditor-editor.separator1"
873 visible="true">
874 </separator>
875 <separator
876 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
877 visible="true">
878 </separator>
879 <command
880 commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
881 label="%command.label.35"
882 style="push">
883 </command>
884 <separator
885 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
886 visible="true">
887 </separator>
888 <command
889 commandId="org.eclipse.ui.file.save"
890 label="%command.label.36"
891 style="push">
892 </command>
893 </menuContribution>
894
895
896
897
898
899 <menuContribution
900 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
901 <command
902 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
903 label="%command.label.37"
904 style="push">
905 <visibleWhen>
906 <or>
907 <reference
908 definitionId="isBulkEditor">
909 </reference>
910 <reference
911 definitionId="isTaxonEditor">
912 </reference>
913 <reference
914 definitionId="isDerivateEditor">
915 </reference>
916 </or>
917 </visibleWhen>
918 </command>
919 <separator
920 name="taxeditor-editor.separator1"
921 visible="true">
922 </separator>
923 <command
924 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
925 label="%command.label.38"
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.useExistingImage"
935 label="%command.label.50"
936 style="push">
937 <visibleWhen>
938 <reference
939 definitionId="isImageGallery">
940 </reference>
941 </visibleWhen>
942 </command>
943 <command
944 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
945 label="%command.label.39"
946 style="push">
947 <visibleWhen>
948 <reference
949 definitionId="isMedia">
950 </reference>
951 </visibleWhen>
952 </command>
953 <command
954 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
955 label="%command.label.40"
956 style="push">
957 <visibleWhen>
958 <reference
959 definitionId="isMedia">
960 </reference>
961 </visibleWhen>
962 </command>
963 <separator
964 name="taxeditor-editor.separator2"
965 visible="true">
966 </separator>
967 <command
968 commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
969 label="%command.label.41"
970 style="push">
971 </command>
972 <command
973 commandId="org.eclipse.ui.file.save"
974 label="%command.label.42"
975 style="push">
976 </command>
977 </menuContribution>
978 <menuContribution
979 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
980 <menu
981 label="%menu.label.3">
982 <dynamic
983 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
984 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
985 </dynamic>
986 </menu>
987 <command
988 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
989 label="%command.label.43"
990 style="push">
991 </command>
992 <separator
993 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
994 visible="true">
995 </separator>
996 <command
997 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
998 label="%command.label.44"
999 style="push">
1000 </command>
1001 </menuContribution>
1002 <menuContribution
1003 allPopups="false"
1004 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
1005 <command
1006 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1007 label="%command.label.45"
1008 style="push">
1009 <visibleWhen>
1010 <reference
1011 definitionId="isGroupEditor">
1012 </reference>
1013 </visibleWhen>
1014 </command>
1015 </menuContribution>
1016 <menuContribution
1017 allPopups="false"
1018 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1019 <command
1020 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1021 icon="icons/link_obj.gif"
1022 style="toggle"
1023 tooltip="%command.tooltip">
1024 </command>
1025 </menuContribution>
1026 <menuContribution
1027 allPopups="false"
1028 locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
1029 <command
1030 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1031 label="%command.label.55"
1032 style="push">
1033 <visibleWhen
1034 checkEnabled="false">
1035 <and>
1036 <reference
1037 definitionId="isCdmStoreConnected">
1038 </reference>
1039 <reference
1040 definitionId="isTaxonNode">
1041 </reference>
1042 </and>
1043 </visibleWhen>
1044 </command>
1045 <separator
1046 name="eu.etaxonomy.taxeditor.editor.separator1"
1047 visible="true">
1048 </separator>
1049 </menuContribution>
1050 <menuContribution
1051 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
1052 <separator
1053 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
1054 visible="true">
1055 </separator>
1056 <command
1057 commandId="org.eclipse.ui.views.showView"
1058 label="%command.name.40"
1059 style="push">
1060 <parameter
1061 name="org.eclipse.ui.views.showView.viewId"
1062 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
1063 </parameter>
1064 <visibleWhen
1065 checkEnabled="true">
1066 <reference
1067 definitionId="isCdmStoreConnected">
1068 </reference>
1069 </visibleWhen>
1070 </command>
1071 </menuContribution>
1072 </extension>
1073 <extension
1074 point="org.eclipse.ui.handlers">
1075 <handler
1076 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1077 commandId="org.eclipse.ui.window.newEditor">
1078 <activeWhen>
1079 <not>
1080 <instanceof
1081 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1082 </instanceof>
1083 </not>
1084 </activeWhen>
1085 <enabledWhen>
1086 <count
1087 value="-1">
1088 </count>
1089 </enabledWhen>
1090 </handler>
1091 <handler
1092 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1093 commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
1094 <activeWhen>
1095 <and>
1096 <reference
1097 definitionId="isTaxonBase">
1098 </reference>
1099 <not>
1100 <reference
1101 definitionId="isAcceptedTaxon">
1102 </reference>
1103 </not>
1104 </and>
1105 </activeWhen>
1106 </handler>
1107 <handler
1108 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1109 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete">
1110 <activeWhen>
1111 <with
1112 variable="activePartId">
1113 <or>
1114 <equals
1115 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1116 </equals>
1117 <equals
1118 value="eu.etaxonomy.taxeditor.editor.view.media">
1119 </equals>
1120 <equals
1121 value="eu.etaxonomy.taxeditor.editor.view.uses">
1122 </equals>
1123 </or>
1124 </with>
1125 </activeWhen>
1126 </handler>
1127 <handler
1128 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1129 commandId="eu.etaxonomy.taxeditor.editor.key.polytomous.command.delete">
1130 <activeWhen>
1131 <with
1132 variable="activePartId">
1133 <equals
1134 value="eu.etaxonomy.taxeditor.editor.key">
1135 </equals>
1136 </with>
1137 </activeWhen>
1138 </handler>
1139 <handler
1140 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1141 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete">
1142 <activeWhen>
1143 <with
1144 variable="activePartId">
1145 <equals
1146 value="eu.etaxonomy.taxeditor.editor.view.concept">
1147 </equals>
1148 </with>
1149 </activeWhen>
1150 </handler>
1151 <handler
1152 class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1153 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1154 </handler>
1155 <handler
1156 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1157 commandId="eu.etaxonomy.taxeditor.editor.view.derivate.command.delete">
1158 <activeWhen>
1159 <with
1160 variable="activePartId">
1161 <equals
1162 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1163 </equals>
1164 </with>
1165 </activeWhen>
1166 </handler>
1167 <handler
1168 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1169 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1170 <activeWhen>
1171 <with
1172 variable="activePartId">
1173 <equals
1174 value="eu.etaxonomy.taxeditor.navigation.navigator">
1175 </equals>
1176 </with>
1177 </activeWhen>
1178 </handler>
1179 <handler
1180 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1181 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1182 </handler>
1183 </extension>
1184 <extension
1185 name="%extension.name"
1186 point="org.eclipse.ui.commands">
1187 <category
1188 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1189 name="%category.name.0">
1190 </category>
1191 <command
1192 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1193 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1194 id="eu.etaxonomy.taxeditor.editor.command.openParent"
1195 name="%command.name">
1196 </command>
1197 <command
1198 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1199 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1200 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1201 name="%command.name.0">
1202 </command>
1203 <command
1204 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1205 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1206 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1207 name="%command.name.1">
1208 </command>
1209 <command
1210 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1211 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1212 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1213 name="%command.name.2">
1214 </command>
1215 <command
1216 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1217 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1218 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1219 name="%command.name.36">
1220 </command>
1221 <!--command
1222 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1223 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1224 name="Move Taxon">
1225 </command-->
1226 <command
1227 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1228 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1229 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1230 name="%command.name.3">
1231 </command>
1232 <command
1233 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1234 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1235 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1236 name="%command.name.4">
1237 </command>
1238 <command
1239 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1240 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1241 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1242 name="%command.name.5">
1243 </command>
1244 <command
1245 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1246 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1247 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1248 name="%command.name.6">
1249 </command>
1250 <command
1251 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1252 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1253 id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1254 name="%command.name.46">
1255 </command>
1256 <command
1257 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1258 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1259 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1260 name="%command.name.7">
1261 </command>
1262 <command
1263 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1264 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1265 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1266 name="%command.name.8">
1267 </command>
1268 <!-- <command
1269 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1270 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1271 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1272 name="Change Accepted Taxon to Synonym">
1273 </command>-->
1274 <command
1275 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1276 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1277 id="eu.etaxonomy.taxeditor.editor.name.delete"
1278 name="%command.name.45">
1279 </command>
1280 <command
1281 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1282 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1283 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1284 name="%command.name.9">
1285 </command>
1286 <category
1287 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1288 name="%category.name.1">
1289 </category>
1290 <command
1291 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1292 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1293 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1294 name="%command.name.10">
1295 </command>
1296 <command
1297 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1298 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1299 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1300 name="%command.name.11">
1301 </command>
1302 <command
1303 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1304 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1305 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1306 name="%command.name.48">
1307 </command>
1308 <category
1309 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1310 name="%category.name.2">
1311 </category>
1312 <command
1313 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1314 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1315 id="eu.etaxonomy.taxeditor.use.commands.adduse"
1316 name="%command.name.14">
1317 </command>
1318 <command
1319 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1320 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1321 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1322 name="%command.name.16">
1323 </command>
1324 <command
1325 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1326 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1327 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1328 name="%command.name.15">
1329 </command>
1330 <command
1331 id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1332 name="%command.name.47">
1333 </command>
1334 <category
1335 id="eu.etaxonomy.taxeditor.editor.media.category"
1336 name="%category.name.3">
1337 </category>
1338 <command
1339 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1340 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1341 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1342 name="%command.name.19">
1343 </command>
1344 <command
1345 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1346 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1347 id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1348 name="%command.name.20">
1349 </command>
1350 <command
1351 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1352 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1353 id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1354 name="%command.name.21">
1355 </command>
1356 <command
1357 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1358 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1359 id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1360 name="%command.name.37">
1361 </command>
1362 <command
1363 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1364 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1365 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1366 name="%command.name.22">
1367 </command>
1368 <command
1369 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1370 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1371 id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1372 name="%command.name.49">
1373 </command>
1374 <category
1375 id="eu.etaxonomy.taxeditor.editor.new.category"
1376 name="%category.name.4">
1377 </category>
1378 <command
1379 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1380 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1381 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1382 name="%command.name.23">
1383 </command>
1384 <command
1385 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1386 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1387 id="eu.etaxonomy.taxeditor.editor.command.new.name"
1388 name="%command.name.24">
1389 </command>
1390 <command
1391 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1392 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1393 id="eu.etaxonomy.taxeditor.editor.command.new.team"
1394 name="%command.name.25">
1395 </command>
1396 <command
1397 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1398 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1399 id="eu.etaxonomy.taxeditor.editor.command.new.person"
1400 name="%command.name.26">
1401 </command>
1402 <command
1403 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1404 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1405 id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1406 name="%command.name.27">
1407 </command>
1408 <category
1409 id="eu.etaxonomy.taxeditor.editor.key.category"
1410 name="%category.name.5">
1411 </category>
1412 <command
1413 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1414 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1415 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1416 name="%command.name.28">
1417 </command>
1418 <command
1419 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1420 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1421 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1422 name="%command.name.29">
1423 </command>
1424 <command
1425 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1426 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1427 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1428 name="%command.name.30">
1429 </command>
1430 <command
1431 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1432 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1433 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1434 name="%command.name.31">
1435 </command>
1436 <command
1437 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1438 id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1439 name="%command.name.50">
1440 </command>
1441 <category
1442 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1443 name="%category.name.6">
1444 </category>
1445 <command
1446 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1447 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1448 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1449 name="%command.name.32">
1450 </command>
1451 <command
1452 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1453 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1454 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1455 name="%command.name.33">
1456 </command>
1457 <category
1458 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1459 name="%category.name.7">
1460 </category>
1461 <command
1462 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1463 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1464 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1465 name="%command.name.34">
1466 </command>
1467 <command
1468 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1469 id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1470 name="%command.name.35">
1471 </command>
1472 <command
1473 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1474 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1475 name="%command.name.38">
1476 </command>
1477 <command
1478 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1479 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1480 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1481 name="%command.name.39">
1482 </command>
1483 <command
1484 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1485 name="%command.name.41">
1486 </command>
1487 <command
1488 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1489 id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1490 name="%command.name.42">
1491 <commandParameter
1492 id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1493 name="%commandParameter.name"
1494 optional="false"
1495 typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1496 </commandParameter>
1497 </command>
1498 <commandParameterType
1499 converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1500 id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1501 type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1502 </commandParameterType>
1503 <command
1504 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1505 id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1506 name="%command.name.43">
1507 </command>
1508 <command
1509 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1510 id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1511 name="%command.name.44">
1512 </command>
1513 <command
1514 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1515 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1516 id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1517 name="%command.name.13">
1518 </command>
1519 <command
1520 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1521 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1522 id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1523 name="%command.name.12">
1524 </command>
1525
1526 </extension>
1527 <extension
1528 point="org.eclipse.core.expressions.definitions">
1529 <definition
1530 id="nameEditorActive">
1531 <with
1532 variable="activeEditorId">
1533 <equals
1534 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1535 </equals>
1536 </with>
1537 </definition>
1538 <definition
1539 id="isAcceptedTaxon">
1540 <with
1541 variable="selection">
1542 <test
1543 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
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 </extension>
1692 <extension
1693 point="org.eclipse.core.expressions.propertyTesters">
1694 <propertyTester
1695 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1696 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1697 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1698 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1699 type="org.eclipse.jface.viewers.IStructuredSelection">
1700 </propertyTester>
1701 <propertyTester
1702 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1703 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1704 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1705 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1706 type="org.eclipse.jface.viewers.TreeSelection">
1707 </propertyTester>
1708 <propertyTester
1709 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1710 id="taxeditor-bulkeditor.PropertyTester"
1711 namespace="taxeditor-bulkeditor.propertyTester"
1712 properties="isGroupEditor"
1713 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1714 </propertyTester>
1715 </extension>
1716 <extension
1717 point="org.eclipse.ui.bindings">
1718 <scheme
1719 description="%scheme.description"
1720 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1721 name="%scheme.name">
1722 </scheme>
1723 </extension>
1724 <extension
1725 point="org.eclipse.ui.importWizards">
1726 <wizard
1727 category="eu.etaxonomy.taxeditor.import.category.cdm"
1728 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1729 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1730 name="%wizard.name">
1731 <description>
1732 %wizard.description
1733 </description>
1734 </wizard>
1735 </extension>
1736 </plugin>