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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UndoAction
public UndoAction()
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 actionselection
- the selected elements.