Class IzUndoActionHandler

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.jface.action.IAction, org.eclipse.ui.actions.ActionFactory.IWorkbenchAction

    public class IzUndoActionHandler
    extends IzOperationHistoryActionHandler
    UndoActionHandler provides common behavior for performing an undo, as well as labeling and enabling the undo menu item.
    Author:
    Christopher Mindus
    • Field Summary

      • 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

      Constructors 
      ConstructorDescription
      IzUndoActionHandler​(org.eclipse.swt.widgets.Shell shell, org.eclipse.core.commands.operations.IUndoContext context)
      Construct an action handler that handles the labeling and enabling of the undo action for the specified undo context.
    • Method Summary

      • Methods inherited from class org.eclipse.jface.action.Action

        convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
      • 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, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
    • Constructor Detail

      • IzUndoActionHandler

        public IzUndoActionHandler​(org.eclipse.swt.widgets.Shell shell,
                                   org.eclipse.core.commands.operations.IUndoContext context)
        Construct an action handler that handles the labeling and enabling of the undo action for the specified undo context.
        Parameters:
        shell - The shell.
        context - The undo context.