org.eclipse.cdt.debug.internal.ui.actions
Class AbstractViewActionDelegate

java.lang.Object
  extended by org.eclipse.ui.actions.ActionDelegate
      extended by org.eclipse.cdt.debug.internal.ui.actions.AbstractViewActionDelegate
All Implemented Interfaces:
org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.INullSelectionListener, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IViewActionDelegate
Direct Known Subclasses:
AddRegisterGroupActionDelegate, LoadSymbolsForAllActionDelegate, RestoreDefaultRegisterGroupsActionDelegate

public abstract class AbstractViewActionDelegate
extends org.eclipse.ui.actions.ActionDelegate
implements org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.ISelectionListener, org.eclipse.ui.INullSelectionListener, org.eclipse.debug.core.IDebugEventSetListener

The superclass for action delegates of views different than the Debug view and driven by the selection in the Debug view.


Constructor Summary
AbstractViewActionDelegate()
           
 
Method Summary
 void dispose()
           
 void handleDebugEvents(org.eclipse.debug.core.DebugEvent[] events)
           
 void init(org.eclipse.jface.action.IAction action)
           
 void init(org.eclipse.ui.IViewPart view)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class org.eclipse.ui.actions.ActionDelegate
runWithEvent, selectionChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
selectionChanged
 

Constructor Detail

AbstractViewActionDelegate

public AbstractViewActionDelegate()
Method Detail

init

public void init(org.eclipse.ui.IViewPart view)
Specified by:
init in interface org.eclipse.ui.IViewActionDelegate

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IActionDelegate2
Overrides:
dispose in class org.eclipse.ui.actions.ActionDelegate

init

public void init(org.eclipse.jface.action.IAction action)
Specified by:
init in interface org.eclipse.ui.IActionDelegate2
Overrides:
init in class org.eclipse.ui.actions.ActionDelegate

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate
Overrides:
run in class org.eclipse.ui.actions.ActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.ISelectionListener

handleDebugEvents

public void handleDebugEvents(org.eclipse.debug.core.DebugEvent[] events)
Specified by:
handleDebugEvents in interface org.eclipse.debug.core.IDebugEventSetListener