1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <?eclipse version=
"3.2"?>
6 point=
"org.eclipse.core.runtime.applications">
9 class=
"eu.etaxonomy.taxeditor.editor.Application">
14 point=
"org.eclipse.core.runtime.adapters">
16 adaptableType=
"eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17 class=
"eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
19 type=
"eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
24 point=
"org.eclipse.ui.views">
27 category=
"eu.etaxonomy.taxeditor.editor.category"
28 class=
"eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
29 icon=
"icons/edit_16x16.gif"
30 id=
"eu.etaxonomy.taxeditor.editor.view.validation.problems"
35 <!-- VALIDATION RELATED STUFF -->
36 <extension point=
"org.eclipse.core.resources.markers" name=
"%extension.name.0" id=
"eu.etaxonomy.taxeditor.markers.validationerror">
37 <super type=
"org.eclipse.core.resources.problemmarker"/>
38 <attribute name=
"databaseId"/>
39 <attribute name=
"userFriendlyTypeName"/>
40 <attribute name=
"userFriendlyDescription"/>
41 <attribute name=
"userFriendlyFieldName"/>
42 <attribute name=
"validatorMessage"/>
43 <attribute name=
"invalidValue"/>
44 <attribute name=
"validatorClass"/>
45 <attribute name=
"entityClass"/>
46 <attribute name=
"entityId"/>
47 <persistent value=
"false"/>
50 <extension point=
"org.eclipse.ui.ide.markerSupport">
51 <markerContentGenerator
52 id=
"eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator"
53 name=
"%markerContentGenerator.name">
54 <markerTypeReference id=
"eu.etaxonomy.taxeditor.markers.validationerror" />
56 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible=
"true" />
57 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible=
"true" />
58 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible=
"true" />
59 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible=
"true" />
60 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible=
"true" />
61 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible=
"false" />
62 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.entityClass" visible=
"false" />
63 <markerFieldReference id=
"eu.etaxonomy.taxeditor.markers.validation.entityId" visible=
"false" />
64 </markerContentGenerator>
67 class=
"eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
68 id=
"eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
69 name=
"%marker.field.0">
72 class=
"eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
73 id=
"eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
74 name=
"%marker.field.1">
77 class=
"eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
78 id=
"eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
79 name=
"%marker.field.2 = Attribute">
82 class=
"eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
83 id=
"eu.etaxonomy.taxeditor.markers.validation.invalidValue"
84 name=
"%marker.field.3 = Problematic Value">
87 class=
"eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
88 id=
"eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
89 name=
"%marker.field.4 = Problem description">
92 class=
"eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
93 id=
"eu.etaxonomy.taxeditor.markers.validation.validatorClass"
94 name=
"%marker.field.5">
97 class=
"eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
98 id=
"eu.etaxonomy.taxeditor.markers.validation.entityClass"
99 name=
"%marker.field.6">
102 class=
"eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
103 id=
"eu.etaxonomy.taxeditor.markers.validation.entityId"
104 name=
"%marker.field.7">
109 point=
"org.eclipse.ui.elementFactories">
111 class=
"eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
112 id=
"eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
116 point=
"org.eclipse.ui.menus">
118 locationURI=
"menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
120 name=
"eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
124 commandId=
"org.eclipse.ui.views.showView"
125 label=
"%command.name.40"
128 name=
"org.eclipse.ui.views.showView.viewId"
129 value=
"eu.etaxonomy.taxeditor.editor.view.validation.problems">
134 definitionId=
"isCdmStoreConnected">
147 locationURI=
"toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
149 id=
"eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
151 commandId=
"eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
152 icon=
"icons/synced.gif"
153 label=
"%command.label.LINK_WITH_TAXON_SELECTIO"
158 variable=
"activePartId">
160 value=
"eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
169 point=
"org.eclipse.core.expressions.definitions">
171 id=
"nameEditorActive">
173 variable=
"activeEditorId">
175 value=
"eu.etaxonomy.taxeditor.editor.multipagetaxonview">
180 id=
"isAcceptedTaxon">
182 variable=
"selection">
184 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
189 id=
"isNotHomotypicSynonymOfAcceptedTaxon">
191 variable=
"selection">
193 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
198 id=
"isNotAcceptedTaxon">
200 variable=
"selection">
202 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotAcceptedTaxon">
207 id=
"isSynonymInHomotypicalGroupWithMoreSynonyms">
209 variable=
"selection">
211 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
218 variable=
"selection">
220 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
225 id=
"isMisapplication">
227 variable=
"selection">
229 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
234 id=
"isNotMisapplication">
236 variable=
"selection">
238 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotMisapplication">
245 variable=
"selection">
247 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
254 variable=
"selection">
256 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
263 variable=
"selection">
265 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
272 variable=
"selection">
274 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
281 variable=
"selection">
283 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
290 variable=
"selection">
292 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
297 id=
"isDerivateEditor">
299 variable=
"selection">
301 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
308 variable=
"selection">
310 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
315 id=
"isDescriptionElement">
317 variable=
"selection">
319 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
324 id=
"isFeatureNodeContainer">
326 variable=
"selection">
328 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
335 variable=
"selection">
337 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
342 id=
"isAcceptedAndHasNoHomotypicSynonyms">
344 variable=
"selection">
346 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
351 id=
"isIndividualsAssociation">
353 variable=
"selection">
355 property=
"eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
362 property=
"eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
368 variable=
"selection">
370 property=
"eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
377 variable=
"selection">
379 property=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
386 variable=
"selection">
388 property=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
393 id=
"isSpecimenOrObservationBase">
395 variable=
"selection">
397 property=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSpecimenOrObservationBase">
402 id=
"isDerivativeEditorLinkedToTaxonSelection">
404 variable=
"activeEditor">
406 property=
"eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
411 id=
"isOrphanedTaxon">
413 variable=
"selection">
415 forcePluginActivation=
"true"
416 property=
"eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
421 id=
"isAddDerivateAllowed">
423 variable=
"selection">
425 property=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddDerivateAllowed">
430 id=
"isAddMediaAllowed">
432 variable=
"selection">
434 property=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddMediaAllowed">
440 point=
"org.eclipse.core.expressions.propertyTesters">
442 class=
"eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
443 id=
"eu.etaxonomy.taxeditor.editor.name.propertyTester"
444 namespace=
"eu.etaxonomy.taxeditor.editor.name.propertyTester"
445 properties=
"isAcceptedTaxon,isSynonym,isMisapplication,isNotMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isNotAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
446 type=
"java.lang.Object">
449 class=
"eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DescriptionsMenuPropertyTesterE4"
450 id=
"eu.etaxonomy.taxeditor.descriptions.propertyTester"
451 namespace=
"eu.etaxonomy.taxeditor.descriptions.propertyTester"
452 properties=
"isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
453 type=
"java.lang.Object">
456 class=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
457 id=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
458 namespace=
"eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
459 properties=
"isSequence,isSingleRead,isSpecimenOrObservationBase,isAddDerivateAllowed,isAddMediaAllowed"
460 type=
"org.eclipse.jface.viewers.IStructuredSelection">
463 class=
"eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
464 id=
"eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
465 namespace=
"eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
466 properties=
"isLinkedWithTaxonSelection"
467 type=
"eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
470 class=
"eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
471 id=
"eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
472 namespace=
"eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
473 properties=
"isKeyNode"
474 type=
"org.eclipse.jface.viewers.IStructuredSelection">
478 point=
"org.eclipse.ui.bindings">
480 description=
"%scheme.description"
481 id=
"eu.etaxonomy.taxeditor.bindings.scheme.default"
486 point="org.eclipse.ui.importWizards">
488 category="eu.etaxonomy.taxeditor.import.category.cdm"
489 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
490 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
498 point="eu.etaxonomy.taxeditor.store.cdmViewer">
500 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
501 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
502 viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
503 </viewCommandMapping>
505 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
506 selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
507 viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
508 </viewCommandMapping>
510 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
511 selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
512 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
513 </viewCommandMapping>
515 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
516 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
517 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
518 </viewCommandMapping>
520 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
521 selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
522 viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
523 </viewCommandMapping>
525 commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
526 selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
527 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
528 </viewCommandMapping>
530 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
531 selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
532 viewerName="Name Editor">
533 </viewCommandMapping>
535 commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
536 selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
537 viewerName="Bulk Editor">
538 </viewCommandMapping>
540 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
541 selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
542 viewerName="Specimen Editor (tree)">
543 </viewCommandMapping>
545 commandId="eu.etaxonomy.taxeditor.editor.command.workingSet.openWorkingSetEditor"
546 selection="eu.etaxonomy.cdm.model.description.WorkingSet"
547 viewerName="Working Set Editor">
548 </viewCommandMapping>
550 commandId="eu.etaxonomy.taxeditor.editor.command.workingSet.openCharacterMatrix"
551 selection="eu.etaxonomy.cdm.model.description.WorkingSet"
552 viewerName="Character Matrix">
553 </viewCommandMapping>
555 commandId="eu.etaxonomy.taxeditor.editor.command.workingSet.openWorkingSetEditor"
556 selection="eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache"
557 viewerName="Working Set Editor">
558 </viewCommandMapping>
560 commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForGatheringEvent"
561 selection="eu.etaxonomy.cdm.model.occurrence.GatheringEvent"
562 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
563 </viewCommandMapping>
566 id="eu.etaxonomy.taxeditor.editor.workbench.model"
567 name="Editor Workbench Model"
568 point="org.eclipse.e4.workbench.model">
571 uri="fragment.e4xmi">