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