Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2010-07-09 21:15:17 +0000
committerPawel Piech2010-07-09 21:15:17 +0000
commit166f0e64d1ff8cab53971eb0b816754593e48baf (patch)
tree5be6b65eaa0d3294fa9003f1e6104069e84b6294
parenta85476b026ebf5afda8bf26cafc3fac2548086a6 (diff)
downloadeclipse.platform.debug-166f0e64d1ff8cab53971eb0b816754593e48baf.tar.gz
eclipse.platform.debug-166f0e64d1ff8cab53971eb0b816754593e48baf.tar.xz
eclipse.platform.debug-166f0e64d1ff8cab53971eb0b816754593e48baf.zip
Bug 316164 - Merged fix from HEAD.
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugModelContextBindingManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugModelContextBindingManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugModelContextBindingManager.java
index 7a744a8dc..38ea299a7 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugModelContextBindingManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugModelContextBindingManager.java
@@ -35,6 +35,7 @@ import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchesListener2;
import org.eclipse.debug.core.model.IDebugElement;
import org.eclipse.debug.core.model.IDebugModelProvider;
+import org.eclipse.debug.core.model.IStackFrame;
import org.eclipse.debug.internal.ui.DebugUIPlugin;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.debug.ui.contexts.DebugContextEvent;
@@ -312,8 +313,8 @@ public class DebugModelContextBindingManager implements IDebugContextListener, I
}
}
}
- if (object instanceof IDebugElement) {
- return new String[] { ((IDebugElement) object).getModelIdentifier() };
+ if (object instanceof IStackFrame) {
+ return new String[] { ((IStackFrame) object).getModelIdentifier() };
}
return null;
}

Back to the top