- show context menu only when at least one element is selected (fixes #4591)
authorPatric Plitzner <p.plitzner@bgbm.org>
Wed, 14 Jan 2015 13:06:47 +0000 (13:06 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Wed, 14 Jan 2015 13:06:47 +0000 (13:06 +0000)
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>