1 11 package org.eclipse.debug.internal.ui.actions; 12 13 import org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsView; 14 import org.eclipse.jface.action.IAction; 15 import org.eclipse.jface.viewers.ISelection; 16 import org.eclipse.ui.IViewActionDelegate; 17 import org.eclipse.ui.IViewPart; 18 19 22 public class BreakpointsCollapseAllAction implements IViewActionDelegate { 23 24 private BreakpointsView fView; 25 26 29 public void init(IViewPart view) { 30 fView= (BreakpointsView) view; 31 } 32 33 36 public void run(IAction action) { 37 fView.getCheckboxViewer().collapseAll(); 38 } 39 40 43 public void selectionChanged(IAction action, ISelection selection) { 44 } 45 46 } 47 | Popular Tags |