| Package | net.systemeD.halcyon.connection |
| Class | public class UndoableEntityAction |
| Inheritance | UndoableEntityAction UndoableAction |
| Subclasses | AddMemberToRelationAction, AddNodeToWayAction, CreateEntityAction, DeleteNodeAction, DeleteRelationAction, DeleteWayAction, MoveNodeAction, RemoveEntityFromRelationAction, RemoveMemberByIndexAction, RemoveNodeByIndexAction, RemoveNodeFromWayAction, ReverseNodesAction, SetTagAction, SetTagKeyAction |
| Property | Defined by | ||
|---|---|---|---|
| connectionWasDirty : Boolean | UndoableEntityAction | ||
| wasDirty : Boolean | UndoableEntityAction | ||
| Property | Defined by | ||
|---|---|---|---|
| entity : Entity | UndoableEntityAction | ||
| name : String | UndoableEntityAction | ||
| Method | Defined by | ||
|---|---|---|---|
|
UndoableEntityAction(entity:Entity, name:String)
Create a new UndoableEntityAction.
| UndoableEntityAction | ||
![]() |
doAction():uint
The doAction function is called when it is time to execute this action or
combination of actions.
| UndoableAction | |
![]() |
mergePrevious(previous:UndoableAction):Boolean
Can this action be merged with the previous action? This is sometimes wanted, such as
when moving nodes around.
| UndoableAction | |
|
toString():String
| UndoableEntityAction | ||
![]() |
undoAction():uint
The undoAction function is called in order to undo this action or combination
of actions.
| UndoableAction | |
| Method | Defined by | ||
|---|---|---|---|
|
markClean():void
Mark this action as clean.
| UndoableEntityAction | ||
|
markDirty():void
Mark this action as dirty.
| UndoableEntityAction | ||
| connectionWasDirty | property |
public var connectionWasDirty:Boolean
| entity | property |
protected var entity:Entity
| name | property |
protected var name:String
| wasDirty | property |
public var wasDirty:Boolean
| UndoableEntityAction | () | constructor |
public function UndoableEntityAction(entity:Entity, name:String)Create a new UndoableEntityAction. Usually called as super() from a subclass
Parametersentity:Entity — The entity that it being modified
|
|
name:String — The name of this action, useful for debugging.
|
| markClean | () | method |
protected function markClean():voidMark this action as clean. This will entity and/or connection clean, as appropriate, based on whether they were clean before this action started.
| markDirty | () | method |
protected function markDirty():voidMark this action as dirty. This will mark the entity and/or connection dirty, as appropriate.
| toString | () | method |
public function toString():String
Returns
String |