e227ad70215e3984cde83cec502747a800545840
[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 <separator
313 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
314 visible="true">
315 </separator>
316 <command
317 commandId="org.eclipse.ui.views.showView"
318 label="%command.label.4"
319 style="push">
320 <parameter
321 name="org.eclipse.ui.views.showView.viewId"
322 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
323 </parameter>
324 <visibleWhen
325 checkEnabled="true">
326 <reference
327 definitionId="isCdmStoreConnected">
328 </reference>
329 </visibleWhen>
330 </command>
331 <command
332 commandId="org.eclipse.ui.views.showView"
333 label="%command.label.5"
334 style="push">
335 <parameter
336 name="org.eclipse.ui.views.showView.viewId"
337 value="eu.etaxonomy.taxeditor.editor.view.media">
338 </parameter>
339 <visibleWhen
340 checkEnabled="true">
341 <reference
342 definitionId="isCdmStoreConnected">
343 </reference>
344 </visibleWhen>
345 </command>
346 <command
347 commandId="org.eclipse.ui.views.showView"
348 label="%command.label.6"
349 style="push">
350 <parameter
351 name="org.eclipse.ui.views.showView.viewId"
352 value="eu.etaxonomy.taxeditor.editor.view.concept">
353 </parameter>
354 <visibleWhen
355 checkEnabled="true">
356 <reference
357 definitionId="isCdmStoreConnected">
358 </reference>
359 </visibleWhen>
360 </command>
361 <command
362 commandId="org.eclipse.ui.views.showView"
363 label="%command.label.7"
364 style="push">
365 <parameter
366 name="org.eclipse.ui.views.showView.viewId"
367 value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
368 </parameter>
369 <visibleWhen
370 checkEnabled="true">
371 <and>
372 <reference
373 definitionId="isShowExperimentalFeatures">
374 </reference>
375 <reference
376 definitionId="isCdmStoreConnected">
377 </reference>
378 </and>
379 </visibleWhen>
380 </command>
381 </menuContribution>
382 <menuContribution
383 locationURI="menu:org.eclipse.ui.main.menu.navigate">
384 <command
385 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
386 label="%command.label.8"
387 style="push">
388 </command>
389 </menuContribution>
390 <menuContribution
391 locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
392 <menu
393 label="%menu.label">
394 <command
395 commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
396 label="%command.label.9"
397 style="push">
398 <visibleWhen>
399 <reference
400 definitionId="isAcceptedTaxon">
401 </reference>
402 </visibleWhen>
403 </command>
404 <command
405 commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
406 label="%command.label.10"
407 style="push">
408 <visibleWhen>
409 <reference
410 definitionId="isAcceptedTaxon">
411 </reference>
412 </visibleWhen>
413 </command>
414 <command
415 commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
416 label="%command.label.11"
417 style="push">
418 <visibleWhen>
419 <reference
420 definitionId="isSynonym">
421 </reference>
422 </visibleWhen>
423 </command>
424 <separator
425 name="separator1"
426 visible="true">
427 </separator>
428 <command
429 commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
430 label="%command.label.49"
431 style="push">
432 <visibleWhen>
433 <or>
434 <reference
435 definitionId="isAcceptedTaxon">
436 </reference>
437 <reference
438 definitionId="isMisapplication">
439 </reference>
440 </or>
441 </visibleWhen>
442 </command>
443 </menu>
444 <!--<command
445 commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
446 label="Change Accepted Taxon to Synonym"
447 style="push">
448 <visibleWhen
449 checkEnabled="true">
450 <reference
451 definitionId="isAcceptedAndHasNoHomotypicSynonyms">
452 </reference>
453 </visibleWhen
454 <visibleWhen>
455 <or>
456 <reference
457 definitionId="isAcceptedTaxon">
458 </reference>
459 <reference
460 definitionId="isMisapplication">
461 </reference>
462 </or>
463 </visibleWhen>
464 </command>-->
465 <menu
466 label="%menu.label.0">
467 <command
468 commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
469 label="%command.label.12"
470 style="push">
471 <visibleWhen>
472 <not>
473 <or>
474 <reference
475 definitionId="isAcceptedTaxon">
476 </reference>
477 <reference
478 definitionId="isMisapplication">
479 </reference>
480 </or>
481 </not>
482 </visibleWhen>
483 </command>
484 <command
485 commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
486 label="%command.label.13"
487 style="push">
488 <visibleWhen>
489 <not>
490 <or>
491 <reference
492 definitionId="isAcceptedTaxon">
493 </reference>
494 <reference
495 definitionId="isSynonym">
496 </reference>
497 </or>
498 </not>
499 </visibleWhen>
500 </command>
501 <command
502 commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
503 label="%command.label.14"
504 style="push">
505 <visibleWhen>
506 <not>
507 <or>
508 <reference
509 definitionId="isAcceptedTaxon">
510 </reference>
511 <reference
512 definitionId="isMisapplication">
513 </reference>
514 </or>
515 </not>
516 </visibleWhen>
517 </command>
518 </menu>
519 <separator
520 name="taxeditor-editor.separator1"
521 visible="true">
522 </separator>
523 <command
524 commandId="eu.etaxonomy.taxeditor.editor.name.delete"
525 label="%command.label.15"
526 style="push">
527 <visibleWhen>
528 <or>
529 <reference
530 definitionId="isSynonym">
531 </reference>
532 <reference
533 definitionId="isMisapplication">
534 </reference>
535 <reference
536 definitionId="isConceptRelation">
537 </reference>
538 </or>
539 </visibleWhen>
540 </command>
541 <command
542 commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
543 label="%command.label.16"
544 style="push">
545 <visibleWhen>
546 <reference
547 definitionId="hasEmptyNames">
548 </reference>
549 </visibleWhen>
550 </command>
551 <separator
552 name="taxeditor-editor.separator2"
553 visible="true">
554 </separator>
555 <dynamic
556 class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
557 id="taxeditor-editor.dynamic.setBasionym">
558 <visibleWhen>
559 <or>
560 <reference
561 definitionId="isAcceptedTaxon">
562 </reference>
563 <reference
564 definitionId="isSynonym">
565 </reference>
566 </or>
567 </visibleWhen>
568 </dynamic>
569 <command
570 commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
571 label="%command.label.17"
572 style="push">
573 <visibleWhen>
574 <reference
575 definitionId="isSynonym">
576 </reference>
577 </visibleWhen>
578 </command>
579 <command
580 commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
581 label="%command.label.56"
582 style="push">
583 <visibleWhen>
584 <reference
585 definitionId="isSynonym">
586 </reference>
587 </visibleWhen>
588 </command>
589 <separator
590 name="taxeditor-editor.separator3"
591 visible="true">
592 </separator>
593 <command
594 commandId="org.eclipse.ui.views.showView"
595 label="%command.label.18"
596 style="push">
597 <parameter
598 name="org.eclipse.ui.views.showView.viewId"
599 value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
600 </parameter>
601 </command>
602 <separator
603 name="taxeditor-editor.separator4"
604 visible="true">
605 </separator>
606 <command
607 commandId="org.eclipse.ui.file.save"
608 label="%command.label.19"
609 style="push">
610 </command>
611 </menuContribution>
612 <menuContribution
613 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
614 <command
615 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
616 label="%command.label.20"
617 style="push">
618 </command>
619 <separator
620 name="taxeditor-editor.separator1"
621 visible="true">
622 </separator>
623 <command
624 commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
625 label="%command.label.21"
626 style="push">
627 </command>
628 <separator
629 name="taxeditor-editor.separator2"
630 visible="true">
631 </separator>
632 <command
633 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
634 label="%command.label.22"
635 style="push">
636 </command>
637 <separator
638 name="taxeditor-editor.separator3"
639 visible="true">
640 </separator>
641 </menuContribution>
642 <menuContribution
643 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
644 <command
645 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
646 label="%command.label.23"
647 style="push">
648 </command>
649 <command
650 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
651 label="%command.label.24"
652 style="push">
653 </command>
654 <command
655 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
656 label="%command.label.25"
657 style="push">
658 </command>
659 <command
660 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
661 label="%command.label.26"
662 style="push">
663 </command>
664 </menuContribution>
665 <menuContribution
666 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
667 <command
668 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
669 label="%command.label.27"
670 style="push">
671 </command>
672 <separator
673 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
674 visible="true">
675 </separator>
676 <menu
677 label="%menu.label.1">
678 <dynamic
679 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
680 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
681 </dynamic>
682 <visibleWhen
683 checkEnabled="true">
684 <or>
685 <reference
686 definitionId="isDescription">
687 </reference>
688 <reference
689 definitionId="isDescriptionElement">
690 </reference>
691 <reference
692 definitionId="isFeatureNodeContainer">
693 </reference>
694 </or>
695 </visibleWhen>
696 </menu>
697 <separator
698 name="taxeditor-editor.separator1"
699 visible="true">
700 </separator>
701 <command
702 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
703 label="%command.label.51"
704 style="push">
705 <visibleWhen
706 checkEnabled="true">
707 <and>
708 <with
709 variable="selection">
710 <count
711 value="+">
712 </count>
713 </with>
714 <reference
715 definitionId="isIndividualsAssociation">
716 </reference>
717 </and>
718 </visibleWhen>
719 </command>
720 <command
721 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
722 label="%command.label.28"
723 style="push">
724 <visibleWhen
725 checkEnabled="true">
726 <reference
727 definitionId="isDescription">
728 </reference>
729 </visibleWhen>
730 </command>
731 <command
732 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
733 label="%command.label.29"
734 style="push">
735 <visibleWhen
736 checkEnabled="true">
737 <or>
738 <reference
739 definitionId="isFeatureNodeContainer">
740 </reference>
741 <reference
742 definitionId="isDescriptionElement">
743 </reference>
744 </or>
745 </visibleWhen>
746 </command>
747 <separator
748 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
749 visible="true">
750 </separator>
751 <command
752 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
753 label="%command.label.30"
754 style="push">
755 </command>
756 <separator
757 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
758 visible="true">
759 </separator>
760 <command
761 commandId="org.eclipse.ui.file.save"
762 label="%command.label.31"
763 style="push">
764 </command>
765 <separator
766 name="eu.etaxonomy.taxeditor.editor.separator1">
767 </separator>
768 </menuContribution>
769 <menuContribution
770 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
771 <command
772 commandId="eu.etaxonomy.taxeditor.editor.derivate.delete"
773 label="%command.label.52"
774 style="push">
775 </command>
776 <command
777 commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
778 label="%command.label.53"
779 style="push">
780 </command>
781 <command
782 commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
783 icon="icons/deep-delete-16x16-32.png"
784 label="%command.label.54"
785 style="push">
786 </command>
787 <dynamic
788 class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
789 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
790 </dynamic>
791 </menuContribution>
792 <menuContribution
793 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
794 <dynamic
795 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
796 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
797 </dynamic>
798 </menuContribution>
799 <menuContribution
800 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
801 <dynamic
802 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
803 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
804 </dynamic>
805 </menuContribution>
806
807
808
809
810 <menuContribution
811 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
812 <command
813 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
814 label="%command.label.32"
815 style="push">
816 </command>
817 <command
818 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
819 label="%command.label.33"
820 style="push">
821 <visibleWhen
822 checkEnabled="true">
823 <or>
824 <reference
825 definitionId="isDescription">
826 </reference>
827 <reference
828 definitionId="isDescriptionElement">
829 </reference>
830 <reference
831 definitionId="isFeatureNodeContainer">
832 </reference>
833 </or>
834 </visibleWhen>
835 </command>
836 <command
837 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
838 label="%command.label.34"
839 style="push">
840 <visibleWhen
841 checkEnabled="true">
842 <or>
843 <reference
844 definitionId="isDescription">
845 </reference>
846 <reference
847 definitionId="isDescriptionElement">
848 </reference>
849 <reference
850 definitionId="isFeatureNodeContainer">
851 </reference>
852 </or>
853 </visibleWhen>
854 </command>
855 <separator
856 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
857 visible="true">
858 </separator>
859 <separator
860 name="taxeditor-editor.separator1"
861 visible="true">
862 </separator>
863 <separator
864 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
865 visible="true">
866 </separator>
867 <command
868 commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
869 label="%command.label.35"
870 style="push">
871 </command>
872 <separator
873 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
874 visible="true">
875 </separator>
876 <command
877 commandId="org.eclipse.ui.file.save"
878 label="%command.label.36"
879 style="push">
880 </command>
881 </menuContribution>
882
883
884
885
886
887 <menuContribution
888 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
889 <command
890 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
891 label="%command.label.37"
892 style="push">
893 <visibleWhen>
894 <or>
895 <reference
896 definitionId="isBulkEditor">
897 </reference>
898 <reference
899 definitionId="isTaxonEditor">
900 </reference>
901 <reference
902 definitionId="isDerivateEditor">
903 </reference>
904 </or>
905 </visibleWhen>
906 </command>
907 <separator
908 name="taxeditor-editor.separator1"
909 visible="true">
910 </separator>
911 <command
912 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
913 label="%command.label.38"
914 style="push">
915 <visibleWhen>
916 <reference
917 definitionId="isImageGallery">
918 </reference>
919 </visibleWhen>
920 </command>
921 <command
922 commandId="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
923 label="%command.label.50"
924 style="push">
925 <visibleWhen>
926 <reference
927 definitionId="isImageGallery">
928 </reference>
929 </visibleWhen>
930 </command>
931 <command
932 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
933 label="%command.label.39"
934 style="push">
935 <visibleWhen>
936 <reference
937 definitionId="isMedia">
938 </reference>
939 </visibleWhen>
940 </command>
941 <command
942 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
943 label="%command.label.40"
944 style="push">
945 <visibleWhen>
946 <reference
947 definitionId="isMedia">
948 </reference>
949 </visibleWhen>
950 </command>
951 <separator
952 name="taxeditor-editor.separator2"
953 visible="true">
954 </separator>
955 <command
956 commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
957 label="%command.label.41"
958 style="push">
959 </command>
960 <command
961 commandId="org.eclipse.ui.file.save"
962 label="%command.label.42"
963 style="push">
964 </command>
965 </menuContribution>
966 <menuContribution
967 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
968 <menu
969 label="%menu.label.3">
970 <dynamic
971 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
972 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
973 </dynamic>
974 </menu>
975 <command
976 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
977 label="%command.label.43"
978 style="push">
979 </command>
980 <separator
981 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
982 visible="true">
983 </separator>
984 <command
985 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
986 label="%command.label.44"
987 style="push">
988 </command>
989 </menuContribution>
990 <menuContribution
991 allPopups="false"
992 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
993 <command
994 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
995 label="%command.label.45"
996 style="push">
997 <visibleWhen>
998 <reference
999 definitionId="isGroupEditor">
1000 </reference>
1001 </visibleWhen>
1002 </command>
1003 </menuContribution>
1004 <menuContribution
1005 allPopups="false"
1006 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1007 <command
1008 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1009 icon="icons/link_obj.gif"
1010 style="toggle"
1011 tooltip="%command.tooltip">
1012 </command>
1013 </menuContribution>
1014 <menuContribution
1015 allPopups="false"
1016 locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
1017 <command
1018 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1019 label="%command.label.55"
1020 style="push">
1021 <visibleWhen
1022 checkEnabled="false">
1023 <and>
1024 <reference
1025 definitionId="isCdmStoreConnected">
1026 </reference>
1027 <reference
1028 definitionId="isTaxonNode">
1029 </reference>
1030 </and>
1031 </visibleWhen>
1032 </command>
1033 <separator
1034 name="eu.etaxonomy.taxeditor.editor.separator1"
1035 visible="true">
1036 </separator>
1037 </menuContribution>
1038 <menuContribution
1039 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
1040 <separator
1041 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
1042 visible="true">
1043 </separator>
1044 <command
1045 commandId="org.eclipse.ui.views.showView"
1046 label="%command.name.40"
1047 style="push">
1048 <parameter
1049 name="org.eclipse.ui.views.showView.viewId"
1050 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
1051 </parameter>
1052 <visibleWhen
1053 checkEnabled="true">
1054 <reference
1055 definitionId="isCdmStoreConnected">
1056 </reference>
1057 </visibleWhen>
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 Specimen 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
1545 </extension>
1546 <extension
1547 point="org.eclipse.ui.commands">
1548 <commandParameterType
1549 converter="eu.etaxonomy.taxeditor.handler.UuidParameterConverter"
1550 id="eu.etaxonomy.taxeditor.specimenUuidParameterType"
1551 type="java.util.UUID">
1552 </commandParameterType>
1553 </extension>
1554 <extension
1555 point="org.eclipse.core.expressions.definitions">
1556 <definition
1557 id="nameEditorActive">
1558 <with
1559 variable="activeEditorId">
1560 <equals
1561 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1562 </equals>
1563 </with>
1564 </definition>
1565 <definition
1566 id="isAcceptedTaxon">
1567 <with
1568 variable="selection">
1569 <test
1570 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1571 </test>
1572 </with>
1573 </definition>
1574 <definition
1575 id="isSynonym">
1576 <with
1577 variable="selection">
1578 <test
1579 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1580 </test>
1581 </with>
1582 </definition>
1583 <definition
1584 id="isMisapplication">
1585 <with
1586 variable="selection">
1587 <test
1588 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1589 </test>
1590 </with>
1591 </definition>
1592 <definition
1593 id="isTaxonBase">
1594 <with
1595 variable="selection">
1596 <test
1597 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1598 </test>
1599 </with>
1600 </definition>
1601 <definition
1602 id="hasEmptyNames">
1603 <with
1604 variable="selection">
1605 <test
1606 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1607 </test>
1608 </with>
1609 </definition>
1610 <definition
1611 id="isDeletable">
1612 <with
1613 variable="selection">
1614 <test
1615 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1616 </test>
1617 </with>
1618 </definition>
1619 <definition
1620 id="isMedia">
1621 <with
1622 variable="selection">
1623 <test
1624 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1625 </test>
1626 </with>
1627 </definition>
1628 <definition
1629 id="isTaxonEditor">
1630 <with
1631 variable="selection">
1632 <test
1633 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1634 </test>
1635 </with>
1636 </definition>
1637 <definition
1638 id="isBulkEditor">
1639 <with
1640 variable="selection">
1641 <test
1642 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1643 </test>
1644 </with>
1645 </definition>
1646 <definition
1647 id="isDerivateEditor">
1648 <with
1649 variable="selection">
1650 <test
1651 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1652 </test>
1653 </with>
1654 </definition>
1655 <definition
1656 id="isDescription">
1657 <with
1658 variable="selection">
1659 <test
1660 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1661 </test>
1662 </with>
1663 </definition>
1664 <definition
1665 id="isDescriptionElement">
1666 <with
1667 variable="selection">
1668 <test
1669 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1670 </test>
1671 </with>
1672 </definition>
1673 <definition
1674 id="isFeatureNodeContainer">
1675 <with
1676 variable="selection">
1677 <test
1678 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1679 </test>
1680 </with>
1681 </definition>
1682 <definition
1683 id="isImageGallery">
1684 <with
1685 variable="selection">
1686 <test
1687 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1688 </test>
1689 </with>
1690 </definition>
1691 <definition
1692 id="isAcceptedAndHasNoHomotypicSynonyms">
1693 <with
1694 variable="selection">
1695 <test
1696 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1697 </test>
1698 </with>
1699 </definition>
1700 <definition
1701 id="isGroupEditor">
1702 <with
1703 variable="activeEditor">
1704 <test
1705 property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1706 </test>
1707 </with>
1708 </definition>
1709 <definition
1710 id="isIndividualsAssociation">
1711 <with
1712 variable="selection">
1713 <test
1714 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1715 </test>
1716 </with>
1717 </definition>
1718 <definition
1719 id="isRemoting">
1720 <test
1721 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1722 </test>
1723 </definition>
1724 <definition
1725 id="isSequence">
1726 <with
1727 variable="selection">
1728 <test
1729 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1730 </test>
1731 </with>
1732 </definition>
1733 <definition
1734 id="isSingleRead">
1735 <with
1736 variable="selection">
1737 <test
1738 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1739 </test>
1740 </with>
1741 </definition>
1742 </extension>
1743 <extension
1744 point="org.eclipse.core.expressions.propertyTesters">
1745 <propertyTester
1746 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1747 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1748 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1749 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1750 type="org.eclipse.jface.viewers.IStructuredSelection">
1751 </propertyTester>
1752 <propertyTester
1753 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1754 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1755 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1756 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1757 type="org.eclipse.jface.viewers.TreeSelection">
1758 </propertyTester>
1759 <propertyTester
1760 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1761 id="taxeditor-bulkeditor.PropertyTester"
1762 namespace="taxeditor-bulkeditor.propertyTester"
1763 properties="isGroupEditor"
1764 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1765 </propertyTester>
1766 <propertyTester
1767 class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1768 id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1769 namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1770 properties="isSequence,isSingleRead"
1771 type="org.eclipse.jface.viewers.IStructuredSelection">
1772 </propertyTester>
1773 </extension>
1774 <extension
1775 point="org.eclipse.ui.bindings">
1776 <scheme
1777 description="%scheme.description"
1778 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1779 name="%scheme.name">
1780 </scheme>
1781 </extension>
1782 <extension
1783 point="org.eclipse.ui.importWizards">
1784 <wizard
1785 category="eu.etaxonomy.taxeditor.import.category.cdm"
1786 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1787 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1788 name="%wizard.name">
1789 <description>
1790 %wizard.description
1791 </description>
1792 </wizard>
1793 </extension>
1794 <extension
1795 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1796 <cdmViewer
1797 class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1798 </cdmViewer>
1799 </extension>
1800 </plugin>