Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java
index ed7834a04..9094d598b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java
@@ -30,8 +30,8 @@ import org.eclipse.ui.IViewPart;
/**
* Action which fully expands the tree in the breakpoints view.
*/
-public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionDelegate2, IViewerUpdateListener, IModelChangedListener {
-
+public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionDelegate2, IViewerUpdateListener, IModelChangedListener {
+
private IAction fAction;
private BreakpointsView fView;
@@ -55,7 +55,7 @@ public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionD
@Override
public void runWithEvent(IAction action, Event event) {
- run(action);
+ run(action);
}
/* (non-Javadoc)
@@ -94,23 +94,23 @@ public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionD
@Override
public void updateStarted(IViewerUpdate update) {
}
-
+
@Override
public void updateComplete(IViewerUpdate update) {
if (!update.isCanceled()) {
if (TreePath.EMPTY.equals(update.getElementPath())) {
update();
}
- }
+ }
}
-
+
private void update() {
IInternalTreeModelViewer viewer = (IInternalTreeModelViewer)fView.getViewer();
if (viewer != null && fAction != null) {
fAction.setEnabled(viewer.getInput() != null && viewer.getChildCount(TreePath.EMPTY) > 0);
}
}
-
+
@Override
public void modelChanged(IModelDelta delta, IModelProxy proxy) {
update();

Back to the top