- added property tester to check if CdmStore is connected (#4809, #4856)
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / plugin.xml
index 39cbba96e9db9ffc0dec61bda638239f8ebec956..4558e265001908f6128758943e41e49dc930d4e5 100644 (file)
             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>
          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">