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