C# Class Support.UI.UserAction

Class for managing the undo and redo stacks
Mostrar archivo Open project: nhmkdev/cardmaker

Public Methods

Method Description
ClearUndoRedoStacks ( ) : void
CreateActionList ( ) : List>
GetRedoAction ( ) : Action

Pops the redo action and pushes it to the redo stack. The action is not executed.

GetUndoAction ( ) : Action

Pops the undo action and pushes it to the redo stack. The action is not executed.

PushAction ( Action zAction, bool bPerformAction = false ) : void

Pushes an action onto the action stack

Method Details

ClearUndoRedoStacks() public static method

public static ClearUndoRedoStacks ( ) : void
return void

CreateActionList() public static method

public static CreateActionList ( ) : List>
return List>

GetRedoAction() public static method

Pops the redo action and pushes it to the redo stack. The action is not executed.
public static GetRedoAction ( ) : Action
return Action

GetUndoAction() public static method

Pops the undo action and pushes it to the redo stack. The action is not executed.
public static GetUndoAction ( ) : Action
return Action

PushAction() public static method

Pushes an action onto the action stack
public static PushAction ( Action zAction, bool bPerformAction = false ) : void
zAction Action The action to push
bPerformAction bool Flag indicating whether to execute the action after pushing it
return void