diff options
author | Darin Wright | 2010-01-22 22:32:56 +0000 |
---|---|---|
committer | Darin Wright | 2010-01-22 22:32:56 +0000 |
commit | f6e4682a41e9a547250809ea38499154040a83be (patch) | |
tree | c3b5fc315da30cc98f83ce2b294a9986ecaa6fad /org.eclipse.debug.ui/ui/org/eclipse/debug/ui | |
parent | 89f976a9835332d1d1cd1f99844f39f4111673ae (diff) | |
download | eclipse.platform.debug-f6e4682a41e9a547250809ea38499154040a83be.tar.gz eclipse.platform.debug-f6e4682a41e9a547250809ea38499154040a83be.tar.xz eclipse.platform.debug-f6e4682a41e9a547250809ea38499154040a83be.zip |
Bug 298935 - Skip All Breakpoints action does not work any more from keyboard
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java index a0eb8f5b5..ab8e727f5 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -22,6 +22,7 @@ import java.util.Set; import org.eclipse.debug.internal.ui.DebugUIPlugin; import org.eclipse.debug.internal.ui.DelegatingModelPresentation; import org.eclipse.debug.internal.ui.LazyModelPresentation; +import org.eclipse.debug.internal.ui.actions.breakpoints.SkipAllBreakpointsAction; import org.eclipse.jface.action.ActionContributionItem; import org.eclipse.jface.action.IAction; import org.eclipse.jface.action.IContributionItem; @@ -604,13 +605,14 @@ public abstract class AbstractDebugView extends PageBookView implements IDebugVi for (int i = 0; i < items.length; i++) { if (items[i] instanceof ActionContributionItem) { IAction action = ((ActionContributionItem)items[i]).getAction(); - if (action.getStyle() == IAction.AS_CHECK_BOX) { - initActionState(action); - if (action.isChecked()) { - action.run(); + if (!SkipAllBreakpointsAction.ACTION_ID.equals(action.getId())) { + if (action.getStyle() == IAction.AS_CHECK_BOX) { + initActionState(action); + if (action.isChecked()) { + action.run(); + } } - } - } + }} } setMemento(null); } |