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