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