Removed "New Specimen" option from main menu
[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 </extension>
80 <extension
81 point="org.eclipse.ui.views">
82 <view
83 allowMultiple="false"
84 category="eu.etaxonomy.taxeditor.editor.category"
85 class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
86 icon="icons/address-book-new.png"
87 id="eu.etaxonomy.taxeditor.editor.view.descriptive"
88 name="%view.name"
89 restorable="true">
90 </view>
91 <view
92 allowMultiple="false"
93 category="eu.etaxonomy.taxeditor.editor.category"
94 class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
95 icon="icons/leaf.png"
96 id="eu.etaxonomy.taxeditor.editor.view.uses"
97 name="%view.name.0"
98 restorable="true">
99 </view>
100 <view
101 allowMultiple="false"
102 category="eu.etaxonomy.taxeditor.editor.category"
103 class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
104 icon="icons/camera-photo.png"
105 id="eu.etaxonomy.taxeditor.editor.view.media"
106 name="%view.name.1"
107 restorable="true">
108 </view>
109 <view
110 category="eu.etaxonomy.taxeditor.editor.category"
111 class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
112 id="eu.etaxonomy.taxeditor.editor.view.concept"
113 name="%view.name.2"
114 restorable="true">
115 </view>
116 <view
117 category="eu.etaxonomy.taxeditor.editor.category"
118 class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
119 icon="icons/address-book-new.png"
120 id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
121 name="%view.name.3"
122 restorable="true">
123 </view>
124 <category
125 id="eu.etaxonomy.taxeditor.editor.category"
126 name="%category.name">
127 </category>
128 <view
129 allowMultiple="true"
130 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
131 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
132 name="%view.name.4">
133 </view>
134 <view
135 allowMultiple="true"
136 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
137 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
138 name="%view.name.5">
139 </view>
140 <view
141 allowMultiple="false"
142 category="eu.etaxonomy.taxeditor.editor.category"
143 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
144 icon="icons/edit_16x16.gif"
145 id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
146 name="%view.name.6">
147 </view>
148 <view
149 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
150 icon="icons/derivate_view-16x16-32.png"
151 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
152 name="Derivative Editor"
153 restorable="true">
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 <separator
724 name="taxeditor-editor.separator1"
725 visible="true">
726 </separator>
727 <command
728 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
729 label="%command.label.51"
730 style="push">
731 <visibleWhen
732 checkEnabled="true">
733 <and>
734 <with
735 variable="selection">
736 <count
737 value="+">
738 </count>
739 </with>
740 <reference
741 definitionId="isIndividualsAssociation">
742 </reference>
743 </and>
744 </visibleWhen>
745 </command>
746 <command
747 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
748 label="%command.label.28"
749 style="push">
750 <visibleWhen
751 checkEnabled="true">
752 <reference
753 definitionId="isDescription">
754 </reference>
755 </visibleWhen>
756 </command>
757 <command
758 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
759 label="%command.label.29"
760 style="push">
761 <visibleWhen
762 checkEnabled="true">
763 <or>
764 <reference
765 definitionId="isFeatureNodeContainer">
766 </reference>
767 <reference
768 definitionId="isDescriptionElement">
769 </reference>
770 </or>
771 </visibleWhen>
772 </command>
773 <separator
774 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
775 visible="true">
776 </separator>
777 <command
778 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
779 label="%command.label.30"
780 style="push">
781 </command>
782 <separator
783 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
784 visible="true">
785 </separator>
786 <command
787 commandId="org.eclipse.ui.file.save"
788 label="%command.label.31"
789 style="push">
790 </command>
791 <separator
792 name="eu.etaxonomy.taxeditor.editor.separator1">
793 </separator>
794 </menuContribution>
795 <menuContribution
796 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
797 <command
798 commandId="eu.etaxonomy.taxeditor.editor.derivate.delete"
799 label="%command.label.52"
800 style="push">
801 </command>
802 <command
803 commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
804 icon="icons/deep-delete-16x16-32.png"
805 label="%command.label.54"
806 style="push">
807 </command>
808 <dynamic
809 class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
810 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
811 </dynamic>
812 </menuContribution>
813 <menuContribution
814 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
815 <dynamic
816 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
817 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
818 </dynamic>
819 </menuContribution>
820 <menuContribution
821 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
822 <dynamic
823 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
824 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
825 </dynamic>
826 </menuContribution>
827
828
829
830
831 <menuContribution
832 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
833 <command
834 commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
835 label="%command.label.32"
836 style="push">
837 </command>
838 <command
839 commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
840 label="%command.label.33"
841 style="push">
842 <visibleWhen
843 checkEnabled="true">
844 <or>
845 <reference
846 definitionId="isDescription">
847 </reference>
848 <reference
849 definitionId="isDescriptionElement">
850 </reference>
851 <reference
852 definitionId="isFeatureNodeContainer">
853 </reference>
854 </or>
855 </visibleWhen>
856 </command>
857 <command
858 commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
859 label="%command.label.34"
860 style="push">
861 <visibleWhen
862 checkEnabled="true">
863 <or>
864 <reference
865 definitionId="isDescription">
866 </reference>
867 <reference
868 definitionId="isDescriptionElement">
869 </reference>
870 <reference
871 definitionId="isFeatureNodeContainer">
872 </reference>
873 </or>
874 </visibleWhen>
875 </command>
876 <separator
877 name="eu.etaxonomy.taxeditor.usesEditor.separator3"
878 visible="true">
879 </separator>
880 <separator
881 name="taxeditor-editor.separator1"
882 visible="true">
883 </separator>
884 <separator
885 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
886 visible="true">
887 </separator>
888 <command
889 commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
890 label="%command.label.35"
891 style="push">
892 </command>
893 <separator
894 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
895 visible="true">
896 </separator>
897 <command
898 commandId="org.eclipse.ui.file.save"
899 label="%command.label.36"
900 style="push">
901 </command>
902 </menuContribution>
903
904
905
906
907
908 <menuContribution
909 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
910 <command
911 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
912 label="%command.label.37"
913 style="push">
914 <visibleWhen>
915 <or>
916 <reference
917 definitionId="isBulkEditor">
918 </reference>
919 <reference
920 definitionId="isTaxonEditor">
921 </reference>
922 <reference
923 definitionId="isDerivateEditor">
924 </reference>
925 </or>
926 </visibleWhen>
927 </command>
928 <separator
929 name="taxeditor-editor.separator1"
930 visible="true">
931 </separator>
932 <command
933 commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
934 label="%command.label.38"
935 style="push">
936 <visibleWhen>
937 <reference
938 definitionId="isImageGallery">
939 </reference>
940 </visibleWhen>
941 </command>
942 <command
943 commandId="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
944 label="%command.label.50"
945 style="push">
946 <visibleWhen>
947 <reference
948 definitionId="isImageGallery">
949 </reference>
950 </visibleWhen>
951 </command>
952 <command
953 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
954 label="%command.label.39"
955 style="push">
956 <visibleWhen>
957 <reference
958 definitionId="isMedia">
959 </reference>
960 </visibleWhen>
961 </command>
962 <command
963 commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
964 label="%command.label.40"
965 style="push">
966 <visibleWhen>
967 <reference
968 definitionId="isMedia">
969 </reference>
970 </visibleWhen>
971 </command>
972 <separator
973 name="taxeditor-editor.separator2"
974 visible="true">
975 </separator>
976 <command
977 commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
978 label="%command.label.41"
979 style="push">
980 </command>
981 <command
982 commandId="org.eclipse.ui.file.save"
983 label="%command.label.42"
984 style="push">
985 </command>
986 </menuContribution>
987 <menuContribution
988 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
989 <menu
990 label="%menu.label.3">
991 <dynamic
992 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
993 id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
994 </dynamic>
995 </menu>
996 <command
997 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
998 label="%command.label.43"
999 style="push">
1000 </command>
1001 <separator
1002 name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
1003 visible="true">
1004 </separator>
1005 <command
1006 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1007 label="%command.label.44"
1008 style="push">
1009 </command>
1010 </menuContribution>
1011 <menuContribution
1012 allPopups="false"
1013 locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
1014 <command
1015 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1016 label="%command.label.45"
1017 style="push">
1018 <visibleWhen>
1019 <reference
1020 definitionId="isGroupEditor">
1021 </reference>
1022 </visibleWhen>
1023 </command>
1024 </menuContribution>
1025 <menuContribution
1026 allPopups="false"
1027 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1028 <command
1029 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1030 icon="icons/link_obj.gif"
1031 style="toggle"
1032 tooltip="%command.tooltip">
1033 </command>
1034 </menuContribution>
1035 <menuContribution
1036 allPopups="false"
1037 locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1038 <command
1039 commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1040 icon="icons/synced.gif"
1041 label="Link with Editor"
1042 style="toggle">
1043 <visibleWhen
1044 checkEnabled="false">
1045 <reference
1046 definitionId="isCdmStoreConnected">
1047 </reference>
1048 </visibleWhen>
1049 </command>
1050 </menuContribution>
1051 </extension>
1052 <extension
1053 point="org.eclipse.ui.handlers">
1054 <handler
1055 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1056 commandId="org.eclipse.ui.window.newEditor">
1057 <activeWhen>
1058 <not>
1059 <instanceof
1060 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1061 </instanceof>
1062 </not>
1063 </activeWhen>
1064 <enabledWhen>
1065 <count
1066 value="-1">
1067 </count>
1068 </enabledWhen>
1069 </handler>
1070 <handler
1071 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1072 commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
1073 <activeWhen>
1074 <and>
1075 <reference
1076 definitionId="isTaxonBase">
1077 </reference>
1078 <not>
1079 <reference
1080 definitionId="isAcceptedTaxon">
1081 </reference>
1082 </not>
1083 </and>
1084 </activeWhen>
1085 </handler>
1086 <handler
1087 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1088 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete">
1089 <activeWhen>
1090 <with
1091 variable="activePartId">
1092 <or>
1093 <equals
1094 value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1095 </equals>
1096 <equals
1097 value="eu.etaxonomy.taxeditor.editor.view.media">
1098 </equals>
1099 <equals
1100 value="eu.etaxonomy.taxeditor.editor.view.uses">
1101 </equals>
1102 </or>
1103 </with>
1104 </activeWhen>
1105 </handler>
1106 <handler
1107 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1108 commandId="eu.etaxonomy.taxeditor.editor.key.polytomous.command.delete">
1109 <activeWhen>
1110 <with
1111 variable="activePartId">
1112 <equals
1113 value="eu.etaxonomy.taxeditor.editor.key">
1114 </equals>
1115 </with>
1116 </activeWhen>
1117 </handler>
1118 <handler
1119 class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1120 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete">
1121 <activeWhen>
1122 <with
1123 variable="activePartId">
1124 <equals
1125 value="eu.etaxonomy.taxeditor.editor.view.concept">
1126 </equals>
1127 </with>
1128 </activeWhen>
1129 </handler>
1130 <handler
1131 class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1132 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1133 </handler>
1134 <handler
1135 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1136 commandId="eu.etaxonomy.taxeditor.editor.view.derivate.command.delete">
1137 <activeWhen>
1138 <with
1139 variable="activePartId">
1140 <equals
1141 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1142 </equals>
1143 </with>
1144 </activeWhen>
1145 </handler>
1146 <handler
1147 class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1148 commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1149 <activeWhen>
1150 <with
1151 variable="activePartId">
1152 <equals
1153 value="eu.etaxonomy.taxeditor.navigation.navigator">
1154 </equals>
1155 </with>
1156 </activeWhen>
1157 </handler>
1158 <handler
1159 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1160 commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1161 </handler>
1162 <handler
1163 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
1164 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
1165 <activeWhen>
1166 <reference
1167 definitionId="isRemoting">
1168 </reference>
1169 </activeWhen>
1170 </handler>
1171 <handler
1172 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
1173 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
1174 <activeWhen>
1175 <reference
1176 definitionId="isRemoting">
1177 </reference>
1178 </activeWhen>
1179 </handler>
1180 </extension>
1181 <extension
1182 name="%extension.name"
1183 point="org.eclipse.ui.commands">
1184 <category
1185 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1186 name="%category.name.0">
1187 </category>
1188 <command
1189 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1190 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1191 id="eu.etaxonomy.taxeditor.editor.command.openParent"
1192 name="%command.name">
1193 </command>
1194 <command
1195 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1196 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1197 id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1198 name="%command.name.0">
1199 </command>
1200 <command
1201 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1202 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1203 id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1204 name="%command.name.1">
1205 </command>
1206 <command
1207 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1208 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1209 id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1210 name="%command.name.2">
1211 </command>
1212 <command
1213 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1214 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1215 id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1216 name="%command.name.36">
1217 </command>
1218 <!--command
1219 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1220 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1221 name="Move Taxon">
1222 </command-->
1223 <command
1224 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1225 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1226 id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1227 name="%command.name.3">
1228 </command>
1229 <command
1230 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1231 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1232 id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1233 name="%command.name.4">
1234 </command>
1235 <command
1236 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1237 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1238 id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1239 name="%command.name.5">
1240 </command>
1241 <command
1242 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1243 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1244 id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1245 name="%command.name.6">
1246 </command>
1247 <command
1248 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1249 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1250 id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1251 name="%command.name.46">
1252 </command>
1253 <command
1254 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1255 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1256 id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1257 name="%command.name.7">
1258 </command>
1259 <command
1260 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1261 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1262 id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1263 name="%command.name.8">
1264 </command>
1265 <!-- <command
1266 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1267 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1268 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1269 name="Change Accepted Taxon to Synonym">
1270 </command>-->
1271 <command
1272 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1273 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1274 id="eu.etaxonomy.taxeditor.editor.name.delete"
1275 name="%command.name.45">
1276 </command>
1277 <command
1278 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1279 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1280 id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1281 name="%command.name.9">
1282 </command>
1283 <category
1284 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1285 name="%category.name.1">
1286 </category>
1287 <command
1288 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1289 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1290 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1291 name="%command.name.10">
1292 </command>
1293 <command
1294 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1295 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1296 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1297 name="%command.name.11">
1298 </command>
1299 <command
1300 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1301 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1302 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1303 name="%command.name.48">
1304 </command>
1305 <category
1306 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1307 name="%category.name.2">
1308 </category>
1309 <command
1310 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1311 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1312 id="eu.etaxonomy.taxeditor.use.commands.adduse"
1313 name="%command.name.14">
1314 </command>
1315 <command
1316 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1317 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1318 id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1319 name="%command.name.16">
1320 </command>
1321 <command
1322 categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1323 defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1324 id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1325 name="%command.name.15">
1326 </command>
1327 <command
1328 id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1329 name="%command.name.47">
1330 </command>
1331 <category
1332 id="eu.etaxonomy.taxeditor.editor.media.category"
1333 name="%category.name.3">
1334 </category>
1335 <command
1336 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1337 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1338 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1339 name="%command.name.19">
1340 </command>
1341 <command
1342 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1343 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1344 id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1345 name="%command.name.20">
1346 </command>
1347 <command
1348 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1349 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1350 id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1351 name="%command.name.21">
1352 </command>
1353 <command
1354 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1355 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1356 id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1357 name="%command.name.37">
1358 </command>
1359 <command
1360 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1361 defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1362 id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1363 name="%command.name.22">
1364 </command>
1365 <command
1366 categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1367 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1368 id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1369 name="%command.name.49">
1370 </command>
1371
1372 <category
1373 id="eu.etaxonomy.taxeditor.editor.new.category"
1374 name="%category.name.4">
1375 </category>
1376 <command
1377 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1378 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1379 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1380 name="%command.name.23">
1381 </command>
1382 <command
1383 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1384 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1385 id="eu.etaxonomy.taxeditor.editor.command.new.name"
1386 name="%command.name.24">
1387 </command>
1388 <command
1389 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1390 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1391 id="eu.etaxonomy.taxeditor.editor.command.new.team"
1392 name="%command.name.25">
1393 </command>
1394 <command
1395 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1396 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1397 id="eu.etaxonomy.taxeditor.editor.command.new.person"
1398 name="%command.name.26">
1399 </command>
1400 <category
1401 id="eu.etaxonomy.taxeditor.editor.key.category"
1402 name="%category.name.5">
1403 </category>
1404 <command
1405 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1406 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1407 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1408 name="%command.name.28">
1409 </command>
1410 <command
1411 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1412 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1413 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1414 name="%command.name.29">
1415 </command>
1416 <command
1417 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1418 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1419 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1420 name="%command.name.30">
1421 </command>
1422 <command
1423 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1424 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1425 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1426 name="%command.name.31">
1427 </command>
1428 <command
1429 defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1430 id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1431 name="%command.name.50">
1432 </command>
1433 <category
1434 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1435 name="%category.name.6">
1436 </category>
1437 <command
1438 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1439 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1440 id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1441 name="%command.name.32">
1442 </command>
1443 <command
1444 categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1445 defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1446 id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1447 name="%command.name.33">
1448 </command>
1449 <category
1450 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1451 name="%category.name.7">
1452 </category>
1453 <command
1454 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1455 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1456 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1457 name="%command.name.34">
1458 </command>
1459 <command
1460 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1461 id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1462 name="%command.name.35">
1463 </command>
1464 <command
1465 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1466 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1467 name="%command.name.38">
1468 </command>
1469 <command
1470 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1471 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1472 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1473 name="%command.name.39">
1474 </command>
1475 <command
1476 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1477 name="%command.name.41">
1478 </command>
1479 <command
1480 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1481 id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1482 name="%command.name.42">
1483 <commandParameter
1484 id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1485 name="%commandParameter.name"
1486 optional="false"
1487 typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1488 </commandParameter>
1489 </command>
1490 <commandParameterType
1491 converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1492 id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1493 type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1494 </commandParameterType>
1495 <command
1496 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1497 id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1498 name="%command.name.43">
1499 </command>
1500 <command
1501 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1502 id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1503 name="%command.name.44">
1504 </command>
1505 <command
1506 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1507 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1508 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1509 name="%command.name.13">
1510 </command>
1511
1512 <command
1513 categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1514 defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1515 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1516 name="%command.name.12">
1517 </command>
1518 <command
1519 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1520 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1521 name="Open Derivative Editor">
1522 <commandParameter
1523 id="eu.etaxonomy.taxeditor.specimenUuidParameter"
1524 name="Specimen UUID parameter"
1525 optional="true"
1526 typeId="eu.etaxonomy.taxeditor.specimenUuidParameterType">
1527 </commandParameter>
1528 </command>
1529 <command
1530 defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1531 id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1532 name="Link with editor">
1533 </command>
1534
1535 </extension>
1536 <extension
1537 point="org.eclipse.ui.commands">
1538 <commandParameterType
1539 converter="eu.etaxonomy.taxeditor.handler.UuidParameterConverter"
1540 id="eu.etaxonomy.taxeditor.specimenUuidParameterType"
1541 type="java.util.UUID">
1542 </commandParameterType>
1543 </extension>
1544 <extension
1545 point="org.eclipse.core.expressions.definitions">
1546 <definition
1547 id="nameEditorActive">
1548 <with
1549 variable="activeEditorId">
1550 <equals
1551 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1552 </equals>
1553 </with>
1554 </definition>
1555 <definition
1556 id="isAcceptedTaxon">
1557 <with
1558 variable="selection">
1559 <test
1560 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1561 </test>
1562 </with>
1563 </definition>
1564 <definition
1565 id="isSynonym">
1566 <with
1567 variable="selection">
1568 <test
1569 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1570 </test>
1571 </with>
1572 </definition>
1573 <definition
1574 id="isMisapplication">
1575 <with
1576 variable="selection">
1577 <test
1578 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1579 </test>
1580 </with>
1581 </definition>
1582 <definition
1583 id="isTaxonBase">
1584 <with
1585 variable="selection">
1586 <test
1587 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1588 </test>
1589 </with>
1590 </definition>
1591 <definition
1592 id="hasEmptyNames">
1593 <with
1594 variable="selection">
1595 <test
1596 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1597 </test>
1598 </with>
1599 </definition>
1600 <definition
1601 id="isDeletable">
1602 <with
1603 variable="selection">
1604 <test
1605 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1606 </test>
1607 </with>
1608 </definition>
1609 <definition
1610 id="isMedia">
1611 <with
1612 variable="selection">
1613 <test
1614 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1615 </test>
1616 </with>
1617 </definition>
1618 <definition
1619 id="isTaxonEditor">
1620 <with
1621 variable="selection">
1622 <test
1623 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1624 </test>
1625 </with>
1626 </definition>
1627 <definition
1628 id="isBulkEditor">
1629 <with
1630 variable="selection">
1631 <test
1632 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1633 </test>
1634 </with>
1635 </definition>
1636 <definition
1637 id="isDerivateEditor">
1638 <with
1639 variable="selection">
1640 <test
1641 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1642 </test>
1643 </with>
1644 </definition>
1645 <definition
1646 id="isDescription">
1647 <with
1648 variable="selection">
1649 <test
1650 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1651 </test>
1652 </with>
1653 </definition>
1654 <definition
1655 id="isDescriptionElement">
1656 <with
1657 variable="selection">
1658 <test
1659 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1660 </test>
1661 </with>
1662 </definition>
1663 <definition
1664 id="isFeatureNodeContainer">
1665 <with
1666 variable="selection">
1667 <test
1668 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1669 </test>
1670 </with>
1671 </definition>
1672 <definition
1673 id="isImageGallery">
1674 <with
1675 variable="selection">
1676 <test
1677 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1678 </test>
1679 </with>
1680 </definition>
1681 <definition
1682 id="isAcceptedAndHasNoHomotypicSynonyms">
1683 <with
1684 variable="selection">
1685 <test
1686 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1687 </test>
1688 </with>
1689 </definition>
1690 <definition
1691 id="isGroupEditor">
1692 <with
1693 variable="activeEditor">
1694 <test
1695 property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1696 </test>
1697 </with>
1698 </definition>
1699 <definition
1700 id="isIndividualsAssociation">
1701 <with
1702 variable="selection">
1703 <test
1704 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1705 </test>
1706 </with>
1707 </definition>
1708 <definition
1709 id="isRemoting">
1710 <test
1711 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1712 </test>
1713 </definition>
1714 <definition
1715 id="isSequence">
1716 <with
1717 variable="selection">
1718 <test
1719 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1720 </test>
1721 </with>
1722 </definition>
1723 <definition
1724 id="isSingleRead">
1725 <with
1726 variable="selection">
1727 <test
1728 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1729 </test>
1730 </with>
1731 </definition>
1732 </extension>
1733 <extension
1734 point="org.eclipse.core.expressions.propertyTesters">
1735 <propertyTester
1736 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1737 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1738 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1739 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1740 type="org.eclipse.jface.viewers.IStructuredSelection">
1741 </propertyTester>
1742 <propertyTester
1743 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1744 id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1745 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1746 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1747 type="org.eclipse.jface.viewers.TreeSelection">
1748 </propertyTester>
1749 <propertyTester
1750 class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1751 id="taxeditor-bulkeditor.PropertyTester"
1752 namespace="taxeditor-bulkeditor.propertyTester"
1753 properties="isGroupEditor"
1754 type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1755 </propertyTester>
1756 <propertyTester
1757 class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1758 id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1759 namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1760 properties="isSequence,isSingleRead"
1761 type="org.eclipse.jface.viewers.IStructuredSelection">
1762 </propertyTester>
1763 </extension>
1764 <extension
1765 point="org.eclipse.ui.bindings">
1766 <scheme
1767 description="%scheme.description"
1768 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1769 name="%scheme.name">
1770 </scheme>
1771 </extension>
1772 <extension
1773 point="org.eclipse.ui.importWizards">
1774 <wizard
1775 category="eu.etaxonomy.taxeditor.import.category.cdm"
1776 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1777 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1778 name="%wizard.name">
1779 <description>
1780 %wizard.description
1781 </description>
1782 </wizard>
1783 </extension>
1784 <extension
1785 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1786 <cdmViewer
1787 class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1788 </cdmViewer>
1789 </extension>
1790 </plugin>