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