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