Packagenet.systemeD.halcyon.connection.actions
Classpublic class MergeWaysAction
InheritanceMergeWaysAction Inheritance CompositeUndoableAction Inheritance UndoableAction



Public Properties
 PropertyDefined by
  lastRelationsMerged : Boolean
[static]
MergeWaysAction
  lastTagsMerged : Boolean
[static]
MergeWaysAction
 Inheritedname : String
CompositeUndoableAction
Public Methods
 MethodDefined by
  
MergeWaysAction(way1:Way, way2:Way, toPos:uint, fromPos:uint)
MergeWaysAction
 Inherited
clearActions():void
Clear the list of actions
CompositeUndoableAction
  
doAction():uint
MergeWaysAction
  
mergeNodes():void
MergeWaysAction
 Inherited
mergePrevious(previous:UndoableAction):Boolean
Can this action be merged with the previous action? This is sometimes wanted, such as when moving nodes around.
UndoableAction
  
MergeWaysAction
 Inherited
push(action:UndoableAction):void
Add an action to the list of actions that make up this CompositeUndoableAction
CompositeUndoableAction
 Inherited
toString():String
Returns the name of this composite action, along with the (recursive) description of all the sub actions
CompositeUndoableAction
  
undoAction():uint
MergeWaysAction
 Inherited
undoFrom(index:int):void
Undo the actions from a given index.
CompositeUndoableAction
Public Constants
 ConstantDefined by
 InheritedFAIL : uint = 0
[static] Something went wrong while attempting the action
UndoableAction
 InheritedNO_CHANGE : uint = 2
[static] No entity was altered by this action
UndoableAction
 InheritedSUCCESS : uint = 1
[static] The action worked, and entities were changed
UndoableAction
Property detail
lastRelationsMergedproperty
public static var lastRelationsMerged:Boolean
lastTagsMergedproperty 
public static var lastTagsMerged:Boolean
Constructor detail
MergeWaysAction()constructor
public function MergeWaysAction(way1:Way, way2:Way, toPos:uint, fromPos:uint)Parameters
way1:Way
 
way2:Way
 
toPos:uint
 
fromPos:uint
Method detail
doAction()method
public override function doAction():uint

Returns
uint
mergeNodes()method 
public function mergeNodes():void
mergeRelations()method 
public function mergeRelations():void
undoAction()method 
public override function undoAction():uint

Returns
uint