commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
label="%command.label.2"
style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="selection">
+ <count
+ value="+">
+ </count>
+ </with>
+ </visibleWhen>
</command>
<separator
name="eu.etaxonomy.navigation.menu.new.separator1"
</or>
</visibleWhen>
</command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.open"
+ label="Edit"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="selection">
+ <reference
+ definitionId="isClassification">
+ </reference>
+ </with>
+ </visibleWhen>
+ </command>
<command
commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
label="%command.label.6"
visible="true">
</separator>
<command
- commandId="org.eclipse.ui.edit.delete"
+ commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
label="%command.label.10"
style="push">
<visibleWhen
definitionId="isSynonymNode">
</reference>
</not>
+ <with
+ variable="selection">
+ <count
+ value="+">
+ </count>
+ </with>
</and>
</visibleWhen>
</command>
style="push">
<visibleWhen
checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
+ <and>
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ <reference
+ definitionId="isTaxonNode">
+ </reference></and>
</visibleWhen>
</command>
</menuContribution>
visible="true">
</separator>
<command
- commandId="org.eclipse.ui.edit.delete"
+ commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
label="%command.label.19"
style="push">
</command>
name="%command.name.moveFactualData">
</command>
<command
- defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.FixClassificationHierarchyHandler"
+ defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
name="%command.name.10">
</command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
+ id="eu.etaxonomy.taxeditor.navigation.command.delete"
+ name="%command.name.11">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
+ id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
+ name="%command.name.11">
+ </command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
- commandId="org.eclipse.ui.edit.delete">
+ commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
<activeWhen>
<with
variable="activePartId">
</handler>
<handler
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
- commandId="org.eclipse.ui.edit.delete">
+ commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
<activeWhen>
<with
variable="activePartId">
class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
id="eu.etaxonomy.taxeditor.preferences.propertyTester"
namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
- properties="isCdmStoreConnected, isShowExperimentalFeatures, isChecklistEditorEnabled"
+ properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
+ <propertyTester
+ class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
+ id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
+ namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
+ properties="isCdmStoreConnected"
+ type="java.lang.Object">
+ </propertyTester>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
</definition>
<definition
id="isCdmStoreConnected">
- <with
- variable="selection">
- <test
- property="eu.etaxonomy.taxeditor.preferences.propertyTester.isCdmStoreConnected">
- </test>
- </with>
+ <test
+ property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
+ </test>
</definition>
<definition
id="isShowExperimentalFeatures">
</with>
</definition>
</extension>
+ <extension
+ point="eu.etaxonomy.taxeditor.store.cdmViewer">
+ <cdmViewer
+ class="eu.etaxonomy.taxeditor.navigation.NavigationCdmViewer">
+ </cdmViewer>
+ </extension>
</plugin>