Class UndoActionHandler

All Implemented Interfaces:
IAdaptable, IAction, ActionFactory.IWorkbenchAction

public final class UndoActionHandler extends OperationHistoryActionHandler

UndoActionHandler provides common behavior for performing an undo, as well as labelling and enabling the undo menu item. This class may be instantiated by clients.

  • Constructor Details

    • UndoActionHandler

      public UndoActionHandler(IWorkbenchPartSite site, IUndoContext context)
      Construct an action handler that handles the labelling and enabling of the undo action for the specified undo context.
      site - the workbench part site that created the action.
      context - the undo context to be used for the undo