Composite Refactoring
v1.0

compositeRefactoring.actions
Class UndoAction

java.lang.Object
  |
  +--compositeRefactoring.actions.UndoAction
All Implemented Interfaces:
IActionDelegate, IWorkbenchWindowActionDelegate

public class UndoAction
extends Object
implements IWorkbenchWindowActionDelegate

a testclass for the RefactoringComponent framework. If an action is sent, a RefactoringComponent is fetched from the RefactoringComponentFactory (it is assumed that a refactoraction on a project called "Cars" has been executed. This RefactoringComponent is undone by this class.


Constructor Summary
UndoAction()
           
 
Method Summary
 void dispose()
          is left empty
 void init(IWorkbenchWindow window)
          is left empty
 void run(IAction action)
          runs the action.
 void selectionChanged(IAction action, ISelection selection)
          is left empty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndoAction

public UndoAction()
Method Detail

dispose

public void dispose()
is left empty
Specified by:
dispose in interface IWorkbenchWindowActionDelegate

init

public void init(IWorkbenchWindow window)
is left empty
Specified by:
init in interface IWorkbenchWindowActionDelegate
Parameters:
window - the WorkbenchWindow.

run

public void run(IAction action)
runs the action.
Specified by:
run in interface IActionDelegate
Parameters:
action - the representation of the action

selectionChanged

public void selectionChanged(IAction action,
                             ISelection selection)
is left empty
Specified by:
selectionChanged in interface IActionDelegate
Parameters:
action - the representation of the action
selection - the selected elements.

Composite Refactoring
v1.0