diff options
author | Darin Wright | 2010-09-01 13:43:06 +0000 |
---|---|---|
committer | Darin Wright | 2010-09-01 13:43:06 +0000 |
commit | 649575043f562fc67a6f5ae5767b003414180b18 (patch) | |
tree | 5356cc6ffdd562137ee5962d063bacc7d2d7fba7 | |
parent | 67e3c2ea8c17775988abe724ea45ed12b8d1a88d (diff) | |
download | eclipse.platform.debug-649575043f562fc67a6f5ae5767b003414180b18.tar.gz eclipse.platform.debug-649575043f562fc67a6f5ae5767b003414180b18.tar.xz eclipse.platform.debug-649575043f562fc67a6f5ae5767b003414180b18.zip |
Bug 324072. Debug view "Terminate/Disconnect All" doesn't work
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandAction.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandAction.java index 63178c439..8ffe1c3fe 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandAction.java @@ -222,11 +222,14 @@ public abstract class DebugCommandAction extends Action implements IDebugContext } /** - * Returns the context this action operates on as a selection. + * Returns the context (selection) this action operates on. By default + * the active debug context in this action's associated part or window is used, + * but subclasses may override as required. * * @return the context this action operates on + * @since 3.7 */ - private ISelection getContext() { + protected ISelection getContext() { if (fPart != null) { getDebugContextService().getActiveContext(fPart.getSite().getId()); } |