| java.lang.Object org.eclipse.ui.actions.ActionGroup org.eclipse.ui.operations.UndoRedoActionGroup
UndoRedoActionGroup | final public class UndoRedoActionGroup extends ActionGroup (Code) | |
UndoRedoActionGroup provides standard undo and redo action handlers for a
workbench part site. It supports filtering of undo or redo on a particular
undo context. The undo context can be optionally pruned, which means the
context will be flushed actively whenever an invalid operation is found on
top of its history. This class may be instantiated by clients.
since: 3.1 |
Constructor Summary | |
public | UndoRedoActionGroup(IWorkbenchPartSite site, IUndoContext undoContext, boolean pruneHistory) Construct an undo redo action group for the specified workbench part
site, using the specified undo context. |
UndoRedoActionGroup | public UndoRedoActionGroup(IWorkbenchPartSite site, IUndoContext undoContext, boolean pruneHistory)(Code) | | Construct an undo redo action group for the specified workbench part
site, using the specified undo context.
Parameters: site - the workbench part site that is creating the action group Parameters: undoContext - the undo context to be used for filtering the operationhistory Parameters: pruneHistory - a boolean that indicates whether the history for the specifiedcontext should be pruned whenever an invalid operation isencountered. |
|
|