Extends
Methods
()
_Init- Inherited From:
()
_PostInit- Inherited From:
Methods
(p_func)
_Bind- Inherited From:
Members
:boolean
isReleasing- Inherited From:
Methods
Release()
- Inherited From:
()
_CleanUp- Inherited From:
Members
:object
operationTODO
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.
(p_operation, p_merge)
_InternalDoTODO
Parameters:
Name | Type | Default | Description |
---|---|---|---|
p_operation |
object | ||
p_merge |
boolean |
false
|
()
_InternalRedoTODO
()
_InternalUndoTODO