Extends
Methods
_Init()
- Inherited From:
_PostInit()
- Inherited From:
Methods
_Bind(p_func)
- Inherited From:
Members
isReleasing :boolean
- Inherited From:
Methods
Release()
- Inherited From:
_CleanUp()
- Inherited From:
Members
operation :object
TODO
Methods
CanMerge(p_operation) → {boolean}
Checks whether the given operation can be merged with the current one. This is especially useful for small-increment actions that can be merged into a single one instead of clogging the undo/redo stack.
Parameters:
| Name | Type | Description |
|---|---|---|
p_operation |
object |
Do(p_operation, p_merge) → {actions.Action}
Performs the action.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
p_operation |
object | ||
p_merge |
boolean |
false
|
True if the operation should be merged, otherwise false. |
Redo()
Redo the action based on its current stored operation.
Undo()
Undo the action based on its current stored operation.
_InternalDo(p_operation, p_merge)
TODO
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
p_operation |
object | ||
p_merge |
boolean |
false
|
_InternalRedo()
TODO
_InternalUndo()
TODO