From 7fbb7f2cdc3e3376f763a41274103ca565a6283c Mon Sep 17 00:00:00 2001 From: lehtonen Date: Thu, 18 Mar 2010 23:36:56 +0000 Subject: [PATCH] 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 --- org.simantics.sysdyn.ui/plugin.xml | 40 ++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 8 deletions(-) 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"> + + + + + + + + + + + + + + + + + + -- 2.47.1