Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2010-09-01 09:37:19 -0400
committerDarin Wright2010-09-01 09:37:19 -0400
commitc08bb6380324ff8a217d690d76ea4a23d5026493 (patch)
treedec42e7125d3d33a65eed6b9e1e9943fab1bf5cc
parent2ae41832cadf764f2d04fe78fd39ff32e8bf3a6f (diff)
downloadeclipse.platform.debug-c08bb6380324ff8a217d690d76ea4a23d5026493.tar.gz
eclipse.platform.debug-c08bb6380324ff8a217d690d76ea4a23d5026493.tar.xz
eclipse.platform.debug-c08bb6380324ff8a217d690d76ea4a23d5026493.zip
Bug 324072 - Debug view "Terminate/Disconnect All" doesn't workR3_6_1
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandAction.java8
1 files changed, 6 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..fe0869b34 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,15 @@ 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
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
+ * @noreference This method is not intended to be referenced by clients.
*/
- private ISelection getContext() {
+ protected ISelection getContext() {
if (fPart != null) {
getDebugContextService().getActiveContext(fPart.getSite().getId());
}

Back to the top