public class ChangeNodesCommand extends Command
Command.OldNodeState| Modifier and Type | Field and Description |
|---|---|
private List<Node> |
newNodes |
private Way |
way |
| Constructor and Description |
|---|
ChangeNodesCommand(Way way,
List<Node> newNodes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeCommand()
Executes the command on the dataset.
|
void |
fillModifiedData(Collection<OsmPrimitive> modified,
Collection<OsmPrimitive> deleted,
Collection<OsmPrimitive> added)
Fill in the changed data this command operates on.
|
Icon |
getDescriptionIcon()
Provides a descriptive icon of this command.
|
String |
getDescriptionText()
Provides a description text representing this command.
|
checkAndConfirmOutlyingOperation, getLayer, getOrig, getParticipatingPrimitives, invalidBecauselayerRemoved, undoCommandgetChildrenpublic ChangeNodesCommand(Way way, List<Node> newNodes)
public boolean executeCommand()
CommandexecuteCommand in class Commandpublic void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added)
CommandfillModifiedData in class Commandmodified - The modified primitivesdeleted - The deleted primitivesadded - The added primitivespublic String getDescriptionText()
PseudoCommandgetDescriptionText in class PseudoCommandpublic Icon getDescriptionIcon()
PseudoCommandgetDescriptionIcon in class PseudoCommand