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