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