Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.ActionStack.IActionItem Interface Reference

Base interface for action items. More...

Inheritance diagram for SiliconStudio.ActionStack.IActionItem:
SiliconStudio.ActionStack.ActionItem SiliconStudio.ActionStack.IAggregateActionItem SiliconStudio.ActionStack.AggregateActionItem SiliconStudio.ActionStack.CollectionChangedActionItem SiliconStudio.ActionStack.PropertyChangedActionItem SiliconStudio.Presentation.ViewModel.ActionStack.ViewModelActionItem SiliconStudio.ActionStack.AggregateActionItem SiliconStudio.Presentation.Quantum.CombinedValueChangedActionItem SiliconStudio.Presentation.Commands.CommandActionItem SiliconStudio.Presentation.Quantum.ValueChangedActionItem SiliconStudio.Presentation.ViewModel.ActionStack.CollectionChangedViewModelActionItem SiliconStudio.Presentation.ViewModel.ActionStack.PropertyChangedViewModelActionItem SiliconStudio.Presentation.Quantum.CombinedValueChangedActionItem

Public Member Functions

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...
 

Properties

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...
 

Detailed Description

Base interface for action items.

Definition at line 10 of file IActionItem.cs.

Member Function Documentation

void SiliconStudio.ActionStack.IActionItem.Freeze ( )

Freezes this ActionItem. A frozen action item can't be undone anymore and should have freed the resources stored for undo actions

Implemented in SiliconStudio.ActionStack.ActionItem.

void SiliconStudio.ActionStack.IActionItem.Redo ( )

Redo the action.

Implemented in SiliconStudio.ActionStack.ActionItem.

void SiliconStudio.ActionStack.IActionItem.Undo ( )

Undo the action.

Implemented in SiliconStudio.ActionStack.ActionItem.

Property Documentation

Guid SiliconStudio.ActionStack.IActionItem.Identifier
get

Gets an unique identifier of the action, per instance.

Definition at line 20 of file IActionItem.cs.

bool SiliconStudio.ActionStack.IActionItem.IsDone
get

Gets whether this action is currently done. Modified when invoking Undo or Redo.

Definition at line 30 of file IActionItem.cs.

bool SiliconStudio.ActionStack.IActionItem.IsFrozen
get

Gets whether this action has been frozen with the Freeze method.

Definition at line 35 of file IActionItem.cs.

bool SiliconStudio.ActionStack.IActionItem.IsSaved
getset

Gets or sets whether this action as already been saved when evaluating the dirtiness of an object.

Definition at line 25 of file IActionItem.cs.

string SiliconStudio.ActionStack.IActionItem.Name
getset

Gets or sets the name of the current action.

Definition at line 15 of file IActionItem.cs.


The documentation for this interface was generated from the following file: