Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(905)

Unified Diff: plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesRulerAction.java

Issue 10918154: Allow breakpoint enable and properties ruler actions for all breakpoints (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: spaces Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesAction.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesRulerAction.java
diff --git a/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesRulerAction.java b/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesRulerAction.java
index 87d019454703e023fad35e4ba18a5d1baf6c4392..1f11c8d0eb0e2e2bb921e1579be20b404133adbf 100755
--- a/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesRulerAction.java
+++ b/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesRulerAction.java
@@ -33,18 +33,11 @@ public class JsBreakpointPropertiesRulerAction extends RulerBreakpointAction imp
}
public void update() {
- breakpoint = null;
- IBreakpoint activeBreakpoint = getBreakpoint();
- if (activeBreakpoint != null &&
- activeBreakpoint instanceof ChromiumLineBreakpoint) {
- breakpoint = activeBreakpoint;
- }
+ breakpoint = getBreakpoint();
setEnabled(breakpoint != null);
}
-
public static class Delegate extends AbstractRulerActionDelegate {
-
@Override
protected IAction createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo) {
return new JsBreakpointPropertiesRulerAction(editor, rulerInfo);
« no previous file with comments | « plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/JsBreakpointPropertiesAction.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698