C# Class Support.UI.UserAction

Class for managing the undo and redo stacks
Afficher le fichier Open project: nhmkdev/cardmaker

Méthodes publiques

Méthode 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 méthode

public static ClearUndoRedoStacks ( ) : void
Résultat void

CreateActionList() public static méthode

public static CreateActionList ( ) : List>
Résultat List>

GetRedoAction() public static méthode

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

GetUndoAction() public static méthode

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

PushAction() public static méthode

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
Résultat void