compositeRefactoring.actions
Class RefactorAction
java.lang.Object
|
+--compositeRefactoring.actions.RefactorAction
- All Implemented Interfaces:
- IActionDelegate, IWorkbenchWindowActionDelegate
- public class RefactorAction
- extends Object
- implements IWorkbenchWindowActionDelegate
a testclass for the RefactoringComponent framework. If an action is sent, a RefactoringComponent
is created which works on a prject called "Cars".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefactorAction
public RefactorAction()
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
- Following copied from interface:
org.eclipse.ui.IWorkbenchWindowActionDelegate
- Parameters:
window
- the window that provides the context for this delegate
run
public void run(IAction action)
- runs the action. This is just a testclass where an example is tested.
This example works on resources of a "Cars" project.
- Specified by:
run
in interface IActionDelegate
- Parameters:
action
- a representation of the action
selectionChanged
public void selectionChanged(IAction action,
ISelection selection)
- is left empty
- Specified by:
selectionChanged
in interface IActionDelegate
- Following copied from interface:
org.eclipse.ui.IActionDelegate
- Parameters:
action
- the action proxy that handles presentation portion of
the actionselection
- the current selection, or null
if there
is no selection.