|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.commands.common.EventManager org.eclipse.jface.action.AbstractAction org.eclipse.jface.action.Action org.eclipse.emf.edit.ui.action.UndoAction org.eclipse.emf.workspace.ui.actions.UndoActionWrapper
public class UndoActionWrapper
Extension of the EMF UndoAction
class that delegates undo behaviour
to the undoable operation framework's UndoActionHandler
.
Field Summary |
---|
Fields inherited from class org.eclipse.emf.edit.ui.action.UndoAction |
---|
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 | |
---|---|
UndoActionWrapper()
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 undo 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.UndoAction |
---|
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 UndoActionWrapper()
Method Detail |
---|
public void setActiveWorkbenchPart(IWorkbenchPart workbenchPart)
setActiveWorkbenchPart
in class UndoAction
public void update()
update
in class UndoAction
public String getDescription()
getDescription
in interface IAction
getDescription
in class Action
public String getText()
getText
in interface IAction
getText
in class Action
public String getToolTipText()
getToolTipText
in interface IAction
getToolTipText
in class Action
public boolean isEnabled()
isEnabled
in interface IAction
isEnabled
in class Action
public boolean isHandled()
isHandled
in interface IAction
isHandled
in class Action
public void run()
run
in interface IAction
run
in class UndoAction
public void runWithEvent(Event event)
runWithEvent
in interface IAction
runWithEvent
in class Action
public void setChecked(boolean checked)
setChecked
in interface IAction
setChecked
in class Action
public void setDescription(String text)
setDescription
in interface IAction
setDescription
in class Action
public void setEnabled(boolean enabled)
setEnabled
in interface IAction
setEnabled
in class Action
public void setText(String text)
setText
in interface IAction
setText
in class Action
public void setToolTipText(String toolTipText)
setToolTipText
in interface IAction
setToolTipText
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 |