Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ferrazzutti2013-11-26 20:26:29 +0000
committerAndrew Ferrazzutti2013-12-02 20:28:50 +0000
commitebb6be3fc9768515ae614aef17612e032dd1f2ac (patch)
treeb3ba423220ff6a3caee72018a424b8c7225ed8ed /systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml
parentf130cacb2e3c98e89ec8570d31d8840eadb7937f (diff)
downloadorg.eclipse.linuxtools-ebb6be3fc9768515ae614aef17612e032dd1f2ac.tar.gz
org.eclipse.linuxtools-ebb6be3fc9768515ae614aef17612e032dd1f2ac.tar.xz
org.eclipse.linuxtools-ebb6be3fc9768515ae614aef17612e032dd1f2ac.zip
Systemtap: improve visibility of "run" menu items.
"Run" buttons on the toolbar now appear properly. For instance, the simple Systemtap "run" button now only appears when editing a Systemtap script, and the Run/Debug buttons are now visible while editing a Systemtap script in the ST IDE. Change-Id: I57e9bfa3b7e81425f11df817729796ed0a92dc05 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/18994 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com> Reviewed-on: https://git.eclipse.org/r/19157
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml')
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml
index c630cc1ac2..7f7325e51d 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/plugin.xml
@@ -63,6 +63,9 @@
icon="icons/actions/run/run_exc.gif"
label="%action.run.name"
style="push">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
</command>
</menuContribution>
<menuContribution
@@ -269,6 +272,7 @@
targetID="org.eclipse.linuxtools.systemtap.ui.ide.IDEPerspective">
<actionSet id="org.eclipse.linuxtools.systemtap.ui.editor.FileActionSet"/>
<actionSet id="org.eclipse.linuxtools.systemtap.ui.ide.FileActionSet"/>
+ <actionSet id="org.eclipse.debug.ui.launchActionSet"/>
</perspectiveExtension>
<perspectiveExtension
@@ -306,7 +310,9 @@
<shortcut
class="org.eclipse.linuxtools.internal.systemtap.ui.ide.launcher.SystemTapScriptLaunchShortcut"
id="org.eclipse.linuxtools.systemtap.ui.ide.StapLaunchShortcut"
- label="Systemtap Script"
+ label="%launch.run.name"
+ description="%launch.run.desc"
+ icon="icons/smileytap_small.gif"
modes="run">
<contextualLaunch>
<enablement>

Back to the top