org.eclipse.emf.workspace.ui.actions
Class RedoActionWrapper

java.lang.Object
  extended byorg.eclipse.core.commands.common.EventManager
      extended byorg.eclipse.jface.action.AbstractAction
          extended byorg.eclipse.jface.action.Action
              extended byorg.eclipse.emf.edit.ui.action.RedoAction
                  extended byorg.eclipse.emf.workspace.ui.actions.RedoActionWrapper
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public class RedoActionWrapper
extends org.eclipse.emf.edit.ui.action.RedoAction

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(org.eclipse.swt.widgets.Event event)
          Delegates to the operation framework action handler.
 void setActiveWorkbenchPart(org.eclipse.ui.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.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, isChecked, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setDisabledImageDescriptor, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator
 
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

RedoActionWrapper

public RedoActionWrapper()
Initializes me.

Method Detail

setActiveWorkbenchPart

public void setActiveWorkbenchPart(org.eclipse.ui.IWorkbenchPart workbenchPart)
Extends the superclass implementation to update the operation history redo action handler to which I delegate.


update

public void update()
Delegates to the operation framework action handler.


getDescription

public String getDescription()
Delegates to the operation framework action handler.


getText

public String getText()
Delegates to the operation framework action handler.


getToolTipText

public String getToolTipText()
Delegates to the operation framework action handler.


isEnabled

public boolean isEnabled()
Delegates to the operation framework action handler.


isHandled

public boolean isHandled()
Delegates to the operation framework action handler.


run

public void run()
Delegates to the operation framework action handler.


runWithEvent

public void runWithEvent(org.eclipse.swt.widgets.Event event)
Delegates to the operation framework action handler.


setChecked

public void setChecked(boolean checked)
Delegates to the operation framework action handler.


setDescription

public void setDescription(String text)
Delegates to the operation framework action handler.


setEnabled

public void setEnabled(boolean enabled)
Delegates to the operation framework action handler.


setText

public void setText(String text)
Delegates to the operation framework action handler.


setToolTipText

public void setToolTipText(String toolTipText)
Delegates to the operation framework action handler.


Copyright 2002, 2006 IBM Corporation and others.
All Rights Reserved.