- removed non-relevant context-menu option for classification (#4646)
authorPatric Plitzner <p.plitzner@bgbm.org>
Tue, 17 Feb 2015 14:16:34 +0000 (14:16 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Tue, 17 Feb 2015 14:16:34 +0000 (14:16 +0000)
eu.etaxonomy.taxeditor.editor/plugin.xml
eu.etaxonomy.taxeditor.navigation/plugin.xml

index 134220d33e4bed4441f13e2ecb5478853db8d104..150daaec3b467c797d8973299c20120cca26c2b1 100644 (file)
                label="Open Associated Derivates"
                style="push">
             <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
+                  checkEnabled="false">
+               <and>
+                  <reference
+                        definitionId="isCdmStoreConnected">
+                  </reference>
+                  <reference
+                        definitionId="isTaxonNode">
+                  </reference>
+               </and>
             </visibleWhen>
          </command>
          <separator
index 91eb7bbe25f06bb93606148ca65522afcc66936b..78ff843f3c5f4da5f134f8b7a0fad9adf118164c 100644 (file)
                commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
                label="Move factual data to another taxon"
                style="push">
+            <visibleWhen
+                  checkEnabled="true">
+               <and>
+                  <reference
+                        definitionId="isCdmStoreConnected">
+                  </reference>
+                  <reference
+                        definitionId="isTaxonNode">
+                  </reference>
+               </and>
+            </visibleWhen>
          </command>
          <separator
                name="taxeditor-navigation.separator2"