org.eclipse.core.commands
.public class RedoRefactoringAction
extends org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction
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.
|
public RedoRefactoringAction()
protected String getName()
getName
in class org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction
protected IRunnableWithProgress createOperation(Shell parent)
createOperation
in class org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction
protected UndoManagerAdapter createUndoManagerListener()
createUndoManagerListener
in class org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction
public void selectionChanged(IAction action, ISelection s)
IActionDelegate
Implementers 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.
action
- the action proxy that handles presentation portion of
the actions
- the current selection, or null
if there
is no selection.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.