ref #6595 Remove e3 popup menu
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 id="application"
6 point="org.eclipse.core.runtime.applications">
7 <application>
8 <run
9 class="eu.etaxonomy.taxeditor.editor.Application">
10 </run>
11 </application>
12 </extension>
13 <extension
14 point="org.eclipse.core.runtime.adapters">
15 <factory
16 adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18 <adapter
19 type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20 </adapter>
21 </factory>
22 </extension>
23 <extension
24 point="org.eclipse.ui.editors">
25 <editor
26 class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
27 default="false"
28 id="eu.etaxonomy.taxeditor.editor.key"
29 name="%editor.name.1">
30 </editor>
31 <editor
32 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
33 default="false"
34 id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
35 name="%editor.name.2">
36 </editor>
37 <editor
38 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
39 default="false"
40 id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
41 name="%editor.name.3">
42 </editor>
43 <editor
44 class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
45 default="false"
46 id="eu.etaxonomy.taxeditor.editor.group.authority"
47 name="%editor.name.4">
48 </editor>
49 <editor
50 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
51 default="false"
52 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
53 name="%editor.name.6">
54 </editor>
55 <editor
56 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
57 default="false"
58 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
59 name="%editor.name.7">
60 </editor>
61 <editor
62 class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
63 icon="icons/check.png"
64 id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
65 name="%editor.name.8">
66 </editor>
67 </extension>
68 <extension
69 point="org.eclipse.ui.views">
70 <view
71 category="eu.etaxonomy.taxeditor.editor.category"
72 class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
73 icon="icons/address-book-new.png"
74 id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
75 name="%view.name.3"
76 restorable="true">
77 </view>
78 <category
79 id="eu.etaxonomy.taxeditor.editor.category"
80 name="%category.name">
81 </category>
82 <view
83 allowMultiple="true"
84 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
85 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
86 name="%view.name.4">
87 </view>
88 <view
89 allowMultiple="true"
90 class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
91 id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
92 name="%view.name.5">
93 </view>
94 <view
95 allowMultiple="false"
96 category="eu.etaxonomy.taxeditor.editor.category"
97 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
98 icon="icons/edit_16x16.gif"
99 id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
100 name="%view.name.6">
101 </view>
102 </extension>
103
104 <!-- VALIDATION RELATED STUFF -->
105 <extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
106 <super type="org.eclipse.core.resources.problemmarker"/>
107 <attribute name="databaseId"/>
108 <attribute name="userFriendlyTypeName"/>
109 <attribute name="userFriendlyDescription"/>
110 <attribute name="userFriendlyFieldName"/>
111 <attribute name="validatorMessage"/>
112 <attribute name="invalidValue"/>
113 <attribute name="validatorClass"/>
114 <attribute name="entityClass"/>
115 <attribute name="entityId"/>
116 <persistent value="false"/>
117 </extension>
118
119 <extension point="org.eclipse.ui.ide.markerSupport">
120 <markerContentGenerator
121 id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator"
122 name="%markerContentGenerator.name">
123 <markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
124
125 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
126 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
127 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
128 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
129 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
130 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
131 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
132 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
133 </markerContentGenerator>
134
135 <markerField
136 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
137 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
138 name="%marker.field.0">
139 </markerField>
140 <markerField
141 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
142 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
143 name="%marker.field.1">
144 </markerField>
145 <markerField
146 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
147 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
148 name="%marker.field.2 = Attribute">
149 </markerField>
150 <markerField
151 class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
152 id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
153 name="%marker.field.3 = Problematic Value">
154 </markerField>
155 <markerField
156 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
157 id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
158 name="%marker.field.4 = Problem description">
159 </markerField>
160 <markerField
161 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
162 id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
163 name="%marker.field.5">
164 </markerField>
165 <markerField
166 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
167 id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
168 name="%marker.field.6">
169 </markerField>
170 <markerField
171 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
172 id="eu.etaxonomy.taxeditor.markers.validation.entityId"
173 name="%marker.field.7">
174 </markerField>
175 </extension>
176
177 <extension
178 point="org.eclipse.ui.elementFactories">
179 <factory
180 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
181 id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
182 </factory>
183 </extension>
184 <extension
185 point="org.eclipse.ui.menus">
186 <menuContribution
187 locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
188 <command
189 commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
190 label="%command.label.46"
191 style="push">
192 <visibleWhen
193 checkEnabled="true">
194 <reference
195 definitionId="isCdmStoreConnected">
196 </reference>
197 </visibleWhen>
198 </command>
199 <command
200 commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
201 label="%command.label.47"
202 style="push">
203 <visibleWhen
204 checkEnabled="true">
205 <reference
206 definitionId="isCdmStoreConnected">
207 </reference>
208 </visibleWhen>
209 </command>
210 <command
211 commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
212 label="%command.label.1"
213 style="push">
214 <visibleWhen
215 checkEnabled="true">
216 <reference
217 definitionId="isCdmStoreConnected">
218 </reference>
219 </visibleWhen>
220 </command>
221 <command
222 commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
223 label="%command.label.2"
224 style="push">
225 <visibleWhen
226 checkEnabled="true">
227 <reference
228 definitionId="isCdmStoreConnected">
229 </reference>
230 </visibleWhen>
231 </command>
232 <separator
233 name="eu.etaxonomy.navigation.menu.new.separator2"
234 visible="true">
235 </separator>
236 <separator
237 name="eu.etaxonomy.navigation.menu.new.separator3"
238 visible="true">
239 </separator>
240 <command
241 commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
242 label="%command.label.48"
243 style="push">
244 </command>
245 </menuContribution>
246 <menuContribution
247 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
248 <separator
249 name="eu.etaxonomy.taxeditor.editor.showViewMenu"
250 visible="true">
251 </separator>
252 <command
253 commandId="org.eclipse.ui.views.showView"
254 label="%command.label.7"
255 style="push">
256 <parameter
257 name="org.eclipse.ui.views.showView.viewId"
258 value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
259 </parameter>
260 <visibleWhen
261 checkEnabled="true">
262 <and>
263 <reference
264 definitionId="isShowExperimentalFeatures">
265 </reference>
266 <reference
267 definitionId="isCdmStoreConnected">
268 </reference>
269 </and>
270 </visibleWhen>
271 </command>
272 </menuContribution>
273 <menuContribution
274 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
275 <separator
276 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
277 visible="true">
278 </separator>
279 <command
280 commandId="org.eclipse.ui.views.showView"
281 label="%command.name.40"
282 style="push">
283 <parameter
284 name="org.eclipse.ui.views.showView.viewId"
285 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
286 </parameter>
287 <visibleWhen
288 checkEnabled="true">
289 <reference
290 definitionId="isCdmStoreConnected">
291 </reference>
292 </visibleWhen>
293 </command>
294 </menuContribution>
295 <menuContribution
296 locationURI="menu:org.eclipse.ui.main.menu.navigate">
297 <command
298 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
299 label="%command.label.8"
300 style="push">
301 </command>
302 </menuContribution>
303 <menuContribution
304 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
305 <command
306 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
307 label="%command.label.20"
308 style="push">
309 </command>
310 <command
311 commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
312 label="%command.label.21"
313 style="push">
314 </command>
315 <separator
316 name="taxeditor-editor.separator2"
317 visible="true">
318 </separator>
319 <command
320 commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
321 label="%command.label.22"
322 style="push">
323 </command>
324 <separator
325 name="taxeditor-editor.separator3"
326 visible="true">
327 </separator>
328 </menuContribution>
329 <menuContribution
330 locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
331 <menu
332 label="%menu.label.4">
333 <command
334 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
335 label="%command.label.58"
336 style="push">
337 </command>
338 <command
339 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
340 label="%command.label.23"
341 style="push">
342 </command>
343 </menu>
344 <command
345 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
346 label="%command.label.24"
347 style="push">
348 </command>
349 <!-- <dynamic
350 class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
351 id="eu.etaxonomy.taxeditor.editor.polytomous.list.cdmViewerContextMenu">
352 </dynamic>-->
353 <command
354 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
355 label="%command.label.25"
356 style="push">
357 </command>
358 <command
359 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
360 label="%command.label.26"
361 style="push">
362 </command>
363 <separator
364 name="eu.etaxonomy.taxeditor.editor.separator1">
365 </separator>
366 </menuContribution>
367 <menuContribution
368 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
369 <command
370 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
371 label="%command.label.27"
372 style="push">
373 </command>
374 <menu
375 label="%menu.label.1">
376 <dynamic
377 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
378 id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
379 </dynamic>
380 <visibleWhen
381 checkEnabled="true">
382 <or>
383 <reference
384 definitionId="isDescription">
385 </reference>
386 <reference
387 definitionId="isDescriptionElement">
388 </reference>
389 <reference
390 definitionId="isFeatureNodeContainer">
391 </reference>
392 </or>
393 </visibleWhen>
394 </menu>
395 <separator
396 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
397 visible="true">
398 </separator>
399 <command
400 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
401 label="%command.label.28"
402 style="push">
403 <visibleWhen
404 checkEnabled="true">
405 <reference
406 definitionId="isDescription">
407 </reference>
408 </visibleWhen>
409 </command>
410 <command
411 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
412 label="%command.label.29"
413 style="push">
414 <visibleWhen
415 checkEnabled="true">
416 <or>
417 <reference
418 definitionId="isFeatureNodeContainer">
419 </reference>
420 <reference
421 definitionId="isDescriptionElement">
422 </reference>
423 </or>
424 </visibleWhen>
425 </command>
426 <separator
427 name="eu.etaxonomy.taxeditor.editor.separator1">
428 </separator>
429 <dynamic
430 class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
431 id="eu.etaxonomy.taxeditor.editor.descriptive.cdmViewerContextMenu">
432 </dynamic>
433 <separator
434 name="eu.etaxonomy.taxeditor.editor.separator1">
435 </separator>
436 <separator
437 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
438 visible="true">
439 </separator>
440 <command
441 commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
442 label="%command.label.30"
443 style="push">
444 <visibleWhen
445 checkEnabled="true">
446 <count
447 value="+">
448 </count>
449 </visibleWhen>
450 </command>
451 <separator
452 name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
453 visible="true">
454 </separator>
455 <command
456 commandId="org.eclipse.ui.file.save"
457 label="%command.label.31"
458 style="push">
459 </command>
460 <separator
461 name="eu.etaxonomy.taxeditor.editor.separator1">
462 </separator>
463 </menuContribution>
464 <menuContribution
465 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
466 <dynamic
467 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
468 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
469 </dynamic>
470 </menuContribution>
471 <menuContribution
472 locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
473 <dynamic
474 class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
475 id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
476 </dynamic>
477 </menuContribution>
478
479
480
481
482
483
484 <menuContribution
485 allPopups="false"
486 locationURI="popup:bulkeditor.editor?before=eu.etaxonomy.taxeditor.bulkeditor.separator1">
487 <command
488 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
489 label="%command.label.45"
490 style="push">
491 <visibleWhen>
492 <reference
493 definitionId="isGroupEditor">
494 </reference>
495 </visibleWhen>
496 </command>
497 </menuContribution>
498 <menuContribution
499 allPopups="false"
500 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
501 <toolbar
502 id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
503 <command
504 commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
505 icon="icons/synced.gif"
506 label="%command.label.LINK_WITH_TAXON_SELECTIO"
507 style="toggle">
508 <visibleWhen
509 checkEnabled="true">
510 <with
511 variable="activePartId">
512 <equals
513 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
514 </equals>
515 </with>
516 </visibleWhen>
517 </command>
518 </toolbar>
519 </menuContribution>
520 <menuContribution
521 locationURI="menu:bulkeditor.menus.openmenu">
522 <command
523 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
524 label="%command.label.DERIVATIVE_EDITOR"
525 style="push">
526 <visibleWhen
527 checkEnabled="true">
528 <reference
529 definitionId="isCdmStoreConnected">
530 </reference>
531 </visibleWhen>
532 </command>
533 </menuContribution>
534 </extension>
535 <extension
536 point="org.eclipse.ui.handlers">
537 <handler
538 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
539 commandId="org.eclipse.ui.window.newEditor">
540 <activeWhen>
541 <not>
542 <instanceof
543 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
544 </instanceof>
545 </not>
546 </activeWhen>
547 <enabledWhen>
548 <count
549 value="-1">
550 </count>
551 </enabledWhen>
552 </handler>
553 <handler
554 class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
555 commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
556 <activeWhen>
557 <and>
558 <reference
559 definitionId="isTaxonBase">
560 </reference>
561 <not>
562 <reference
563 definitionId="isAcceptedTaxon">
564 </reference>
565 </not>
566 </and>
567 </activeWhen>
568 </handler>
569 <handler
570 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
571 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete">
572 <activeWhen>
573 <with
574 variable="activePartId">
575 <equals
576 value="eu.etaxonomy.taxeditor.editor.key">
577 </equals>
578 </with>
579 </activeWhen>
580 <enabledWhen>
581 <with
582 variable="selection">
583 <test
584 property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
585 </test>
586 </with>
587 </enabledWhen>
588 </handler>
589 <handler
590 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
591 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
592 <activeWhen>
593 <reference
594 definitionId="isRemoting">
595 </reference>
596 </activeWhen>
597 </handler>
598 <handler
599 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.InsertNewNodeHandler"
600 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node">
601 <enabledWhen>
602 <with
603 variable="selection">
604 <test
605 property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
606 </test>
607
608 </with>
609 </enabledWhen>
610 </handler>
611 <handler
612 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
613 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
614 <activeWhen>
615 <with
616 variable="activePartId">
617 <equals
618 value="eu.etaxonomy.taxeditor.editor.key">
619 </equals>
620 </with>
621 </activeWhen>
622 <enabledWhen>
623 <with
624 variable="selection">
625 <test
626 property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
627 </test>
628
629 </with>
630 </enabledWhen>
631 </handler>
632 <handler
633 class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
634 commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
635 <activeWhen>
636 <with
637 variable="activePartId">
638 <equals
639 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
640 </equals>
641 </with>
642 </activeWhen>
643 </handler>
644 <handler
645 class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
646 commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
647 <enabledWhen>
648 <with
649 variable="selection">
650 <test
651 property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
652 </test>
653 </with>
654 </enabledWhen>
655 </handler>
656 </extension>
657 <extension
658 name="%extension.name"
659 point="org.eclipse.ui.commands">
660 <category
661 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
662 name="%category.name.0">
663 </category>
664 <command
665 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
666 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
667 id="eu.etaxonomy.taxeditor.editor.command.openParent"
668 name="%command.name">
669 </command>
670 <!-- <command
671 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
672 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
673 name="Move Taxon">
674 </command>-->
675 <!-- <command
676 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
677 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
678 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
679 name="Change Accepted Taxon to Synonym">
680 </command>-->
681 <category
682 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
683 name="%category.name.1">
684 </category>
685 <category
686 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
687 name="%category.name.2">
688 </category>
689 <category
690 id="eu.etaxonomy.taxeditor.editor.media.category"
691 name="%category.name.3">
692 </category>
693
694 <category
695 id="eu.etaxonomy.taxeditor.editor.new.category"
696 name="%category.name.4">
697 </category>
698 <command
699 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
700 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
701 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
702 name="%command.name.23">
703 </command>
704 <command
705 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
706 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
707 id="eu.etaxonomy.taxeditor.editor.command.new.name"
708 name="%command.name.24">
709 </command>
710 <command
711 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
712 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
713 id="eu.etaxonomy.taxeditor.editor.command.new.team"
714 name="%command.name.25">
715 </command>
716 <command
717 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
718 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
719 id="eu.etaxonomy.taxeditor.editor.command.new.person"
720 name="%command.name.26">
721 </command>
722 <category
723 id="eu.etaxonomy.taxeditor.editor.key.category"
724 name="%category.name.5">
725 </category>
726 <command
727 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
728
729 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
730 name="%command.name.28">
731 </command>
732 <command
733 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
734
735 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
736 name="%command.name.58">
737 </command>
738 <command
739 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
740 id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
741 name="%command.name.29">
742 </command>
743 <command
744 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
745
746 id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
747 name="%command.name.30">
748 </command>
749 <command
750 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
751 defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
752 id="eu.etaxonomy.taxeditor.key.command.applyLayout"
753 name="%command.name.31">
754 </command>
755 <command
756 categoryId="eu.etaxonomy.taxeditor.editor.key.category"
757 id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
758 name="%command.name.50">
759 </command>
760 <category
761 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
762 name="%category.name.6">
763 </category>
764 <category
765 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
766 name="%category.name.7">
767 </category>
768 <command
769 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
770 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
771 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
772 name="%command.name.34">
773 </command>
774 <command
775 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
776 name="%command.name.38">
777 <commandParameter
778 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
779 name="taxonNodeUuid"
780 optional="true"
781 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
782 </commandParameter>
783 </command>
784 <command
785 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
786 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
787 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
788 name="%command.name.39">
789 </command>
790 <command
791 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
792 name="%command.name.41">
793 </command>
794
795 <command
796 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
797 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
798 name="%command.name.OPEN_DERIVATIVE_EDITOR">
799 <commandParameter
800 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
801 name="Specimen Uuids"
802 optional="true"
803 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
804 </commandParameter>
805 </command>
806 <command
807 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
808 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
809 name="%command.name.OPEN_DERIVATIVE_EDITOR">
810 </command>
811
812 </extension>
813 <extension
814 point="org.eclipse.core.expressions.definitions">
815 <definition
816 id="nameEditorActive">
817 <with
818 variable="activeEditorId">
819 <equals
820 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
821 </equals>
822 </with>
823 </definition>
824 <definition
825 id="isAcceptedTaxon">
826 <with
827 variable="selection">
828 <test
829 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
830 </test>
831 </with>
832 </definition>
833 <definition
834 id="isNotHomotypicSynonymOfAcceptedTaxon">
835 <with
836 variable="selection">
837 <test
838 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
839 </test>
840 </with>
841 </definition>
842 <definition
843 id="isSynonymInHomotypicalGroupWithMoreSynonyms">
844 <with
845 variable="selection">
846 <test
847 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
848 </test>
849 </with>
850 </definition>
851 <definition
852 id="isSynonym">
853 <with
854 variable="selection">
855 <test
856 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
857 </test>
858 </with>
859 </definition>
860 <definition
861 id="isMisapplication">
862 <with
863 variable="selection">
864 <test
865 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
866 </test>
867 </with>
868 </definition>
869 <definition
870 id="isTaxonBase">
871 <with
872 variable="selection">
873 <test
874 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
875 </test>
876 </with>
877 </definition>
878 <definition
879 id="hasEmptyNames">
880 <with
881 variable="selection">
882 <test
883 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
884 </test>
885 </with>
886 </definition>
887 <definition
888 id="isDeletable">
889 <with
890 variable="selection">
891 <test
892 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
893 </test>
894 </with>
895 </definition>
896 <definition
897 id="isMedia">
898 <with
899 variable="selection">
900 <test
901 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
902 </test>
903 </with>
904 </definition>
905 <definition
906 id="isTaxonEditor">
907 <with
908 variable="selection">
909 <test
910 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
911 </test>
912 </with>
913 </definition>
914 <definition
915 id="isBulkEditor">
916 <with
917 variable="selection">
918 <test
919 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
920 </test>
921 </with>
922 </definition>
923 <definition
924 id="isDerivateEditor">
925 <with
926 variable="selection">
927 <test
928 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
929 </test>
930 </with>
931 </definition>
932 <definition
933 id="isDescription">
934 <with
935 variable="selection">
936 <test
937 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
938 </test>
939 </with>
940 </definition>
941 <definition
942 id="isDescriptionElement">
943 <with
944 variable="selection">
945 <test
946 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
947 </test>
948 </with>
949 </definition>
950 <definition
951 id="isFeatureNodeContainer">
952 <with
953 variable="selection">
954 <test
955 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
956 </test>
957 </with>
958 </definition>
959 <definition
960 id="isImageGallery">
961 <with
962 variable="selection">
963 <test
964 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
965 </test>
966 </with>
967 </definition>
968 <definition
969 id="isAcceptedAndHasNoHomotypicSynonyms">
970 <with
971 variable="selection">
972 <test
973 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
974 </test>
975 </with>
976 </definition>
977 <definition
978 id="isIndividualsAssociation">
979 <with
980 variable="selection">
981 <test
982 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
983 </test>
984 </with>
985 </definition>
986 <definition
987 id="isRemoting">
988 <test
989 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
990 </test>
991 </definition>
992 <definition
993 id="isKeyNode">
994 <with
995 variable="selection">
996 <test
997 property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
998 </test>
999 </with>
1000 </definition>
1001 <definition
1002 id="isSequence">
1003 <with
1004 variable="selection">
1005 <test
1006 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1007 </test>
1008 </with>
1009 </definition>
1010 <definition
1011 id="isSingleRead">
1012 <with
1013 variable="selection">
1014 <test
1015 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1016 </test>
1017 </with>
1018 </definition>
1019 <definition
1020 id="isSpecimenOrObservationBase">
1021 <with
1022 variable="selection">
1023 <test
1024 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSpecimenOrObservationBase">
1025 </test>
1026 </with>
1027 </definition>
1028 <definition
1029 id="isDerivativeEditorLinkedToTaxonSelection">
1030 <with
1031 variable="activeEditor">
1032 <test
1033 property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
1034 </test>
1035 </with>
1036 </definition>
1037 <definition
1038 id="isOrphanedTaxon">
1039 <with
1040 variable="selection">
1041 <test
1042 forcePluginActivation="true"
1043 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
1044 </test>
1045 </with>
1046 </definition>
1047 <definition
1048 id="isAddDerivateAllowed">
1049 <with
1050 variable="selection">
1051 <test
1052 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddDerivateAllowed">
1053 </test>
1054 </with>
1055 </definition>
1056 <definition
1057 id="isAddMediaAllowed">
1058 <with
1059 variable="selection">
1060 <test
1061 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddMediaAllowed">
1062 </test>
1063 </with>
1064 </definition>
1065 </extension>
1066 <extension
1067 point="org.eclipse.core.expressions.propertyTesters">
1068 <propertyTester
1069 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1070 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1071 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1072 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
1073 type="java.lang.Object">
1074 </propertyTester>
1075 <propertyTester
1076 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1077 id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1078 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1079 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1080 type="java.lang.Object">
1081 </propertyTester>
1082 <propertyTester
1083 class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1084 id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1085 namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1086 properties="isSequence,isSingleRead,isSpecimenOrObservationBase,isAddDerivateAllowed,isAddMediaAllowed"
1087 type="org.eclipse.jface.viewers.IStructuredSelection">
1088 </propertyTester>
1089 <propertyTester
1090 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1091 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1092 namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1093 properties="isLinkedWithTaxonSelection"
1094 type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1095 </propertyTester>
1096 <propertyTester
1097 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
1098 id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
1099 namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
1100 properties="isKeyNode"
1101 type="org.eclipse.jface.viewers.IStructuredSelection">
1102 </propertyTester>
1103 </extension>
1104 <extension
1105 point="org.eclipse.ui.bindings">
1106 <scheme
1107 description="%scheme.description"
1108 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1109 name="%scheme.name">
1110 </scheme>
1111 </extension>
1112 <!--extension
1113 point="org.eclipse.ui.importWizards">
1114 <wizard
1115 category="eu.etaxonomy.taxeditor.import.category.cdm"
1116 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1117 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1118 name="%wizard.name">
1119 <description>
1120 %wizard.description
1121 </description>
1122 </wizard>
1123 </extension-->
1124 <extension
1125 point="eu.etaxonomy.taxeditor.store.cdmViewer">
1126 <viewCommandMapping
1127 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1128 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1129 viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
1130 </viewCommandMapping>
1131 <viewCommandMapping
1132 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1133 selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
1134 viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
1135 </viewCommandMapping>
1136 <viewCommandMapping
1137 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1138 selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
1139 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
1140 </viewCommandMapping>
1141 <viewCommandMapping
1142 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1143 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1144 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
1145 </viewCommandMapping>
1146 <viewCommandMapping
1147 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1148 selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
1149 viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
1150 </viewCommandMapping>
1151 <viewCommandMapping
1152 commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
1153 selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
1154 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
1155 </viewCommandMapping>
1156 <viewCommandMapping
1157 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1158 selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
1159 viewerName="Name Editor">
1160 </viewCommandMapping>
1161 <viewCommandMapping
1162 commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
1163 selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
1164 viewerName="Bulk Editor">
1165 </viewCommandMapping>
1166 <viewCommandMapping
1167 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1168 selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
1169 viewerName="Specimen Editor">
1170 </viewCommandMapping>
1171 </extension>
1172 <extension
1173 id="eu.etaxonomy.taxeditor.editor.workbench.model"
1174 name="Editor Workbench Model"
1175 point="org.eclipse.e4.workbench.model">
1176 <fragment
1177 apply="always"
1178 uri="fragment.e4xmi">
1179 </fragment>
1180 </extension>
1181 </plugin>