|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ltk.internal.ui.refactoring.UndoManagerAction
org.eclipse.ltk.ui.refactoring.RedoRefactoringAction
org.eclipse.core.commands
.
The refactoring redo action. When executed the action performs the top most change from the refactoring undo manager's redo stack.
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.
Nested Class Summary |
---|
Nested classes inherited from class org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction |
---|
org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction.Query |
Constructor Summary | |
---|---|
RedoRefactoringAction()
Deprecated. Creates a new redo refactoring action. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction |
---|
dispose, getAction, getWorkbenchWindow, hookListener, init, isHooked, run, shortenText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchWindowActionDelegate |
---|
dispose, init |
Methods inherited from interface org.eclipse.ui.IActionDelegate |
---|
run |
Constructor Detail |
public RedoRefactoringAction()
Method Detail |
protected String getName()
protected IRunnableWithProgress createOperation(Shell parent)
protected UndoManagerAdapter createUndoManagerListener()
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.
selectionChanged
in interface IActionDelegate
action
- the action proxy that handles presentation portion of
the actions
- the current selection, or null
if there
is no selection.
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.