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