</extension>
<!-- VALIDATION RELATED STUFF -->
- <extension point="org.eclipse.ui.menus">
- <menuContribution locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
- <separator
- name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.ui.views.showView"
- label="%command.name.40"
- style="push">
- <parameter
- name="org.eclipse.ui.views.showView.viewId"
- value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
- </parameter>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.core.resources.markers" name="Validation Error" id="eu.etaxonomy.taxeditor.markers.validationerror">
+ <extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
<super type="org.eclipse.core.resources.problemmarker"/>
<attribute name="databaseId"/>
<attribute name="userFriendlyTypeName"/>
name="taxeditor-editor.separator1"
visible="true">
</separator>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
+ label="%command.label.51"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="selection">
+ <count
+ value="+">
+ </count>
+ </with>
+ </visibleWhen>
+ </command>
<command
commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
label="%command.label.28"
label="%command.label.31"
style="push">
</command>
+ <separator
+ name="eu.etaxonomy.taxeditor.editor.separator1">
+ </separator>
</menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
- <dynamic
- class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
- id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
- </dynamic>
<command
commandId="org.eclipse.ui.edit.delete"
- label="Delete"
+ label="%command.label.52"
style="push">
</command>
<command
commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
- label="Create Field Unit"
+ label="%command.label.53"
style="push">
</command>
<command
commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
- label="Delete (with children)"
+ icon="icons/deep-delete-16x16-32.png"
+ label="%command.label.54"
style="push">
</command>
+ <dynamic
+ class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
+ id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
+ </dynamic>
</menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
icon="icons/link_obj.gif"
style="toggle"
- tooltip="Show Only Individuals Associations">
+ tooltip="%command.tooltip">
</command>
</menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
<command
commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
- label="Open Associated Derivates"
+ label="%command.label.55"
style="push">
<visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
+ checkEnabled="false">
+ <and>
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ <reference
+ definitionId="isTaxonNode">
+ </reference>
+ </and>
</visibleWhen>
</command>
<separator
visible="true">
</separator>
</menuContribution>
+ <menuContribution
+ locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
+ <separator
+ name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.ui.views.showView"
+ label="%command.name.40"
+ style="push">
+ <parameter
+ name="org.eclipse.ui.views.showView.viewId"
+ value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
+ </parameter>
+ </command>
+ </menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
</handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
+ commandId="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler">
+ </handler>
</extension>
<extension
name="%extension.name"
</command>
<command
id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
- name="Show Only Individual Associations">
+ name="%command.name.41">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
- name="Open Taxon Editor">
+ name="%command.name.42">
<commandParameter
id="eu.etaxonomy.taxeditor.editor.taxonParameter"
name="taxonUUID"
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
- name="Create Field Unit">
+ name="%command.name.43">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
- name="Deep Delete">
+ name="%command.name.44">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
+ id="eu.etaxonomy.taxeditor.editor.handler.OpenFixClassificationHierarchyHandler"
+ name="%command.name.45">
</command>
</extension>
<extension
</description>
</wizard>
</extension>
+ <extension
+ point="eu.etaxonomy.taxeditor.store.cdmViewer">
+ <cdmViewer
+ class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
+ </cdmViewer>
+ </extension>
</plugin>