edu.wpi.ejutr.actions
Class RecordNewTestMethod

java.lang.Object
  extended by edu.wpi.ejutr.actions.RecordNewTestMethod
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate, org.eclipse.ui.IViewActionDelegate

public class RecordNewTestMethod
extends java.lang.Object
implements org.eclipse.ui.IObjectActionDelegate, org.eclipse.ui.IViewActionDelegate

The action physically present in context menus that initiates the recording of a new test mthod.


Constructor Summary
RecordNewTestMethod()
          Constructor.
 
Method Summary
 void init(org.eclipse.ui.IViewPart view)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordNewTestMethod

public RecordNewTestMethod()
Constructor.

Method Detail

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction action,
                          org.eclipse.ui.IWorkbenchPart targetPart)
Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
See Also:
IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)

run

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

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
See Also:
IActionDelegate#selectionChanged(IAction, ISelection)

init

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