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

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.ui.actions.ResumeAtLineAdapter
All Implemented Interfaces:
IResumeAtLineTarget

public class ResumeAtLineAdapter
extends java.lang.Object
implements IResumeAtLineTarget

Resume at line target adapter for the CDI debugger


Constructor Summary
ResumeAtLineAdapter()
           
 
Method Summary
 boolean canResumeAtLine(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection, org.eclipse.debug.core.model.ISuspendResume target)
          Returns whether a resume at line operation can be performed on the given element that is currently selected and suspended in the Debug view.
 void resumeAtLine(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection, org.eclipse.debug.core.model.ISuspendResume target)
          Perform a resume at line operation on the given element that is currently selected and suspended in the Debug view.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResumeAtLineAdapter

public ResumeAtLineAdapter()
Method Detail

resumeAtLine

public void resumeAtLine(org.eclipse.ui.IWorkbenchPart part,
                         org.eclipse.jface.viewers.ISelection selection,
                         org.eclipse.debug.core.model.ISuspendResume target)
                  throws org.eclipse.core.runtime.CoreException
Description copied from interface: IResumeAtLineTarget
Perform a resume at line operation on the given element that is currently selected and suspended in the Debug view.

Specified by:
resumeAtLine in interface IResumeAtLineTarget
Parameters:
part - the part on which the action has been invoked
selection - the selection on which the action has been invoked
target - suspended element to perform the "resume at line" action on
Throws:
org.eclipse.core.runtime.CoreException - if unable to perform the action

canResumeAtLine

public boolean canResumeAtLine(org.eclipse.ui.IWorkbenchPart part,
                               org.eclipse.jface.viewers.ISelection selection,
                               org.eclipse.debug.core.model.ISuspendResume target)
Description copied from interface: IResumeAtLineTarget
Returns whether a resume at line operation can be performed on the given element that is currently selected and suspended in the Debug view.

Specified by:
canResumeAtLine in interface IResumeAtLineTarget
Parameters:
part - the part on which the action has been invoked
selection - the selection on which the action has been invoked
target - suspended element to perform the "resume at line" action on