Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ferrazzutti2014-07-16 21:16:20 +0000
committerAlexander Kurtakov2014-07-28 09:17:09 +0000
commitc444ba8b493f941c2da9bb3858bde6802b8a194b (patch)
treea231a015698f6b6b85f663792065273876f591e4 /systemtap/org.eclipse.linuxtools.systemtap.ui.ide
parent73412315189a0fc463062f338aa705a79fd00cea (diff)
downloadorg.eclipse.linuxtools-c444ba8b493f941c2da9bb3858bde6802b8a194b.tar.gz
org.eclipse.linuxtools-c444ba8b493f941c2da9bb3858bde6802b8a194b.tar.xz
org.eclipse.linuxtools-c444ba8b493f941c2da9bb3858bde6802b8a194b.zip
Systemtap: Improve script stopping.
Fix bugs EBZ #439565 and #439566. Also, reduce the time it takes for a script to be stopped. Change-Id: I79a6ebe0b2f30e9b9c4bfb7208ae3e9d85646b89 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/30046 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.ui.ide')
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/handlers/RunScriptHandler.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/handlers/RunScriptHandler.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/handlers/RunScriptHandler.java
index f7b094fcbc..fb14ccfcec 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/handlers/RunScriptHandler.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.ide/src/org/eclipse/linuxtools/internal/systemtap/ui/ide/handlers/RunScriptHandler.java
@@ -432,9 +432,4 @@ public class RunScriptHandler extends AbstractHandler {
return dotIndex != -1 ? fileName.substring(0, dotIndex) : fileName;
}
- /*@Override
- public boolean isEnabled() {
- return (PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor() instanceof STPEditor);
- }*/
-
}

Back to the top