public class RedoAction extends StackAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT| Constructor and Description |
|---|
RedoAction(IEditorPart editor)
Creates a
RedoAction and associates it with the given
editor. |
RedoAction(IWorkbenchPart part)
Creates a
RedoAction and associates it with the given
workbech part. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
calculateEnabled()
Calculates and returns the enabled state of this action.
|
protected void |
init()
Initializes this actions text and images.
|
protected void |
refresh()
Refreshes this action's text to use the last undone command's label.
|
void |
run()
Redoes the last command.
|
getLabelForCommanddispose, execute, getCommandStack, getWorkbenchPart, isEnabled, setLazyEnablementCalculation, setWorkbenchPart, updateconvertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListeneraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectpublic RedoAction(IWorkbenchPart part)
RedoAction and associates it with the given
workbech part.part - The workbench part this action is associated with.public RedoAction(IEditorPart editor)
RedoAction and associates it with the given
editor.editor - The editor this action is associated with.protected boolean calculateEnabled()
WorkbenchPartActioncalculateEnabled in class WorkbenchPartActiontrue if the action is enabledWorkbenchPartAction.calculateEnabled()protected void init()
init in class WorkbenchPartActionprotected void refresh()
refresh in class WorkbenchPartActionCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.