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

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.ui.actions.ResumeAtLineActionDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IViewActionDelegate

public class ResumeAtLineActionDelegate
extends java.lang.Object
implements org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IActionDelegate2

A resume at line action that can be contributed to a an editor. The action will perform the "resume at line" operation for editors that provide an appropriate IResumeAtLineTarget adapter.


Constructor Summary
ResumeAtLineActionDelegate()
           
 
Method Summary
 void dispose()
           
 void init(org.eclipse.jface.action.IAction action)
           
 void init(org.eclipse.ui.IViewPart view)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void runWithEvent(org.eclipse.jface.action.IAction action, org.eclipse.swt.widgets.Event event)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 void setActiveEditor(org.eclipse.jface.action.IAction action, org.eclipse.ui.IEditorPart targetEditor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResumeAtLineActionDelegate

public ResumeAtLineActionDelegate()
Method Detail

setActiveEditor

public void setActiveEditor(org.eclipse.jface.action.IAction action,
                            org.eclipse.ui.IEditorPart targetEditor)
Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionDelegate

init

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

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IActionDelegate2

runWithEvent

public void runWithEvent(org.eclipse.jface.action.IAction action,
                         org.eclipse.swt.widgets.Event event)
Specified by:
runWithEvent in interface org.eclipse.ui.IActionDelegate2

run

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

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate

init

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