|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.emf.edit.ui.action.RedoAction
org.eclipse.emf.workspace.ui.actions.RedoActionWrapper
public class RedoActionWrapper
Extension of the EMF RedoAction class that delegates redo behaviour
to the undoable operation framework's RedoActionHandler.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.edit.ui.action.RedoAction |
|---|
domain |
| Fields inherited from interface org.eclipse.jface.action.IAction |
|---|
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 Summary | |
|---|---|
RedoActionWrapper()
Initializes me. |
|
| Method Summary | |
|---|---|
String |
getDescription()
Delegates to the operation framework action handler. |
String |
getText()
Delegates to the operation framework action handler. |
String |
getToolTipText()
Delegates to the operation framework action handler. |
boolean |
isEnabled()
Delegates to the operation framework action handler. |
boolean |
isHandled()
Delegates to the operation framework action handler. |
void |
run()
Delegates to the operation framework action handler. |
void |
runWithEvent(Event event)
Delegates to the operation framework action handler. |
void |
setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
Extends the superclass implementation to update the operation history redo action handler to which I delegate. |
void |
setChecked(boolean checked)
Delegates to the operation framework action handler. |
void |
setDescription(String text)
Delegates to the operation framework action handler. |
void |
setEnabled(boolean enabled)
Delegates to the operation framework action handler. |
void |
setText(String text)
Delegates to the operation framework action handler. |
void |
setToolTipText(String toolTipText)
Delegates to the operation framework action handler. |
void |
update()
Delegates to the operation framework action handler. |
| Methods inherited from class org.eclipse.emf.edit.ui.action.RedoAction |
|---|
getEditingDomain, setActiveEditor, setEditingDomain |
| Methods inherited from class org.eclipse.jface.action.AbstractAction |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.action.IAction |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Constructor Detail |
|---|
public RedoActionWrapper()
| Method Detail |
|---|
public void setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
setActiveWorkbenchPart in class org.eclipse.emf.edit.ui.action.RedoActionpublic void update()
update in class org.eclipse.emf.edit.ui.action.RedoActionpublic String getDescription()
getDescription in interface IActiongetDescription in class Actionpublic String getText()
getText in interface IActiongetText in class Actionpublic String getToolTipText()
getToolTipText in interface IActiongetToolTipText in class Actionpublic boolean isEnabled()
isEnabled in interface IActionisEnabled in class Actionpublic boolean isHandled()
isHandled in interface IActionisHandled in class Actionpublic void run()
run in interface IActionrun in class org.eclipse.emf.edit.ui.action.RedoActionpublic void runWithEvent(Event event)
runWithEvent in interface IActionrunWithEvent in class Actionpublic void setChecked(boolean checked)
setChecked in interface IActionsetChecked in class Actionpublic void setDescription(String text)
setDescription in interface IActionsetDescription in class Actionpublic void setEnabled(boolean enabled)
setEnabled in interface IActionsetEnabled in class Actionpublic void setText(String text)
setText in interface IActionsetText in class Actionpublic void setToolTipText(String toolTipText)
setToolTipText in interface IActionsetToolTipText in class Action
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||