1 11 package org.eclipse.debug.internal.ui.actions.breakpointGroups; 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.swt.widgets.Event; 17 import org.eclipse.ui.IActionDelegate2; 18 import org.eclipse.ui.IViewActionDelegate; 19 import org.eclipse.ui.IViewPart; 20 21 24 public abstract class AbstractBreakpointsViewAction implements IViewActionDelegate, IActionDelegate2 { 25 26 29 protected BreakpointsView fView; 30 31 34 public void init(IViewPart view) { 35 fView= (BreakpointsView) view; 36 } 37 38 41 public void selectionChanged(IAction action, ISelection selection) { 42 } 43 44 47 public void dispose() { 48 } 49 50 53 public void init(IAction action) { 54 } 55 56 59 public void runWithEvent(IAction action, Event event) { 60 run(action); 61 } 62 } 63 | Popular Tags |