org.eclipse.core.commands.public class RedoRefactoringAction extends org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction implements IWorkbenchWindowActionDelegate
The action is typically added to a global refactoring menu via
the org.eclipse.ui.actionSets extension point.
Note: this class isn't intended to be subclassed. Clients are only allowed to instantiate the class or to reference it from an action set.
| Constructor and Description |
|---|
RedoRefactoringAction()
Deprecated.
Creates a new redo refactoring action.
|
| Modifier and Type | Method and Description |
|---|---|
protected IRunnableWithProgress |
createOperation(Shell parent)
Deprecated.
|
protected UndoManagerAdapter |
createUndoManagerListener()
Deprecated.
|
protected String |
getName()
Deprecated.
|
void |
selectionChanged(IAction action,
ISelection s)
Deprecated.
Notifies this action delegate that the selection in the workbench has changed.
|
dispose, getAction, getWorkbenchWindow, hookListener, init, isHooked, run, shortenTextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, initrunpublic RedoRefactoringAction()
protected String getName()
getName in class org.eclipse.ltk.internal.ui.refactoring.UndoManagerActionprotected IRunnableWithProgress createOperation(Shell parent)
createOperation in class org.eclipse.ltk.internal.ui.refactoring.UndoManagerActionprotected UndoManagerAdapter createUndoManagerListener()
createUndoManagerListener in class org.eclipse.ltk.internal.ui.refactoring.UndoManagerActionpublic void selectionChanged(IAction action, ISelection s)
IActionDelegateImplementers can use this opportunity to change the availability of the action or to modify other presentation properties.
When the selection changes, the action enablement state is updated based on the criteria specified in the plugin.xml file. Then the delegate is notified of the selection change regardless of whether the enablement criteria in the plugin.xml file is met.
selectionChanged in interface IActionDelegateaction - the action proxy that handles presentation portion of
the actions - the current selection, or null if there
is no selection.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.