- show context menu only when at least one element is selected (fixes #4591)
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
index efdf9f78a42c0d1d55c9ed85797b6c495728c1d1..9a68e2ec1c858bbedad3833bbcfaa01e1dbe75da 100644 (file)
                commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
                label="Open in Derivate Editor"
                style="push">
+            <visibleWhen
+                  checkEnabled="true">
+               <with
+                     variable="selection">
+                  <count
+                        value="+">
+                  </count>
+               </with>
+            </visibleWhen>
          </command>
       </menuContribution>
    </extension>