From: lehtonen Date: Thu, 18 Mar 2010 23:36:56 +0000 (+0000) Subject: Only have Remove menu action active when the diagram selection is non-empty and renam... X-Git-Tag: apros-i4-rc2~16 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=7fbb7f2cdc3e3376f763a41274103ca565a6283c;p=simantics%2Fsysdyn.git Only have Remove menu action active when the diagram selection is non-empty and rename when exactly one element is selected. git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@15137 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/plugin.xml b/org.simantics.sysdyn.ui/plugin.xml index d78c8718..366f6029 100644 --- a/org.simantics.sysdyn.ui/plugin.xml +++ b/org.simantics.sysdyn.ui/plugin.xml @@ -175,7 +175,7 @@ label="Rename" style="push"> + checkEnabled="false"> + checkEnabled="false"> @@ -199,11 +199,6 @@ id="org.simantics.sysdyn.ui.trend.view.pin.state"> - - + + @@ -253,6 +251,32 @@ class="org.simantics.sysdyn.ui.trend.PinTrend" commandId="org.simantics.sysdyn.ui.trend.view.pin"> + + + + + + + + + + + + + + + + + +