![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
PropertyChangedActionItem (string propertyName, object container, object previousValue) | |
![]() | |
void | Freeze () |
Freezes this ActionItem. A frozen action item can't be undone anymore and should have freed the resources stored for undo actions More... | |
void | Undo () |
Undo the action. More... | |
void | Redo () |
Redo the action. More... | |
Protected Member Functions | |
override void | FreezeMembers () |
Invoked by Freeze before setting IsFrozen to true. This method will not be invoked if IsFrozen is already true. More... | |
override void | UndoAction () |
Invoked by Undo after setting IsDone to true. More... | |
override void | RedoAction () |
Invoked by Redo after setting IsDone to true. More... | |
![]() | |
ActionItem (string name) | |
Initializes a new instance of the ActionItem class with the given name. More... | |
ActionItem () | |
Initializes a new instance of the ActionItem class. More... | |
Properties | |
string | PropertyName [get] |
Gets the name of the property affected by the change. More... | |
![]() | |
Guid | Identifier [get] |
string | Name [get, set] |
virtual bool | IsSaved [get, set] |
virtual bool | IsDone [get, set] |
bool | IsFrozen [get, set] |
![]() | |
string | Name [get, set] |
Gets or sets the name of the current action. More... | |
Guid | Identifier [get] |
Gets an unique identifier of the action, per instance. More... | |
bool | IsSaved [get, set] |
Gets or sets whether this action as already been saved when evaluating the dirtiness of an object. More... | |
bool | IsDone [get] |
Gets whether this action is currently done. Modified when invoking Undo or Redo. More... | |
bool | IsFrozen [get] |
Gets whether this action has been frozen with the Freeze method. More... | |
Definition at line 8 of file PropertyChangedActionItem.cs.
SiliconStudio.ActionStack.PropertyChangedActionItem.PropertyChangedActionItem | ( | string | propertyName, |
object | container, | ||
object | previousValue | ||
) |
Definition at line 14 of file PropertyChangedActionItem.cs.
|
protectedvirtual |
Invoked by Freeze before setting IsFrozen to true. This method will not be invoked if IsFrozen is already true.
Implements SiliconStudio.ActionStack.ActionItem.
Definition at line 29 of file PropertyChangedActionItem.cs.
|
protectedvirtual |
Invoked by Redo after setting IsDone to true.
Implements SiliconStudio.ActionStack.ActionItem.
Definition at line 45 of file PropertyChangedActionItem.cs.
|
protectedvirtual |
Invoked by Undo after setting IsDone to true.
Implements SiliconStudio.ActionStack.ActionItem.
Definition at line 36 of file PropertyChangedActionItem.cs.
|
get |
Gets the name of the property affected by the change.
Definition at line 26 of file PropertyChangedActionItem.cs.