public class ChangeNodesCommand extends AbstractNodesCommand<java.util.List<Node>>
Command.OldNodeState
cmdNodes, way
IS_INCOMPLETE, IS_OK, IS_OUTSIDE
Constructor and Description |
---|
ChangeNodesCommand(DataSet ds,
Way way,
java.util.List<Node> newNodes)
Constructs a new
ChangeNodesCommand . |
ChangeNodesCommand(Way way,
java.util.List<Node> newNodes)
Constructs a new
ChangeNodesCommand . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptionText()
Provides a description text representing this command.
|
void |
modifyWay() |
equals, executeCommand, fillModifiedData, getDescriptionIcon, hashCode
checkOutlyingOrIncompleteOperation, ensurePrimitivesAreInDataset, getAffectedDataSet, getOrig, getParticipatingPrimitives, undoCommand
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getChildren
public ChangeNodesCommand(Way way, java.util.List<Node> newNodes)
ChangeNodesCommand
.way
- The way to modifynewNodes
- The new list of nodes for the given waypublic ChangeNodesCommand(DataSet ds, Way way, java.util.List<Node> newNodes)
ChangeNodesCommand
.ds
- The target data set. Must not be null
way
- The way to modifynewNodes
- The new list of nodes for the given waypublic void modifyWay()
modifyWay
in class AbstractNodesCommand<java.util.List<Node>>
public java.lang.String getDescriptionText()
PseudoCommand