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