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