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