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