public class CoordinateConflictResolveCommand extends ConflictResolveCommand
Nodes.Command.OldNodeState| Modifier and Type | Field and Description |
|---|---|
private Conflict<? extends OsmPrimitive> |
conflict
the conflict to resolve
|
private MergeDecisionType |
decision
the merge decision
|
| Constructor and Description |
|---|
CoordinateConflictResolveCommand(Conflict<? extends OsmPrimitive> conflict,
MergeDecisionType decision)
constructor for coordinate conflict
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeCommand()
Executes the command on the dataset.
|
void |
fillModifiedData(java.util.Collection<OsmPrimitive> modified,
java.util.Collection<OsmPrimitive> deleted,
java.util.Collection<OsmPrimitive> added)
Fill in the changed data this command operates on.
|
javax.swing.Icon |
getDescriptionIcon()
Provides a descriptive icon of this command.
|
java.lang.String |
getDescriptionText()
Provides a description text representing this command.
|
reconstituteConflicts, rememberConflict, undoCommandcheckAndConfirmOutlyingOperation, getLayer, getOrig, getParticipatingPrimitives, invalidBecauselayerRemovedgetChildrenprivate Conflict<? extends OsmPrimitive> conflict
private final MergeDecisionType decision
public CoordinateConflictResolveCommand(Conflict<? extends OsmPrimitive> conflict, MergeDecisionType decision)
conflict - the conflict data setdecision - the merge decisionpublic java.lang.String getDescriptionText()
PseudoCommandgetDescriptionText in class PseudoCommandpublic javax.swing.Icon getDescriptionIcon()
PseudoCommandgetDescriptionIcon in class PseudoCommandpublic boolean executeCommand()
CommandexecuteCommand in class Commandpublic void fillModifiedData(java.util.Collection<OsmPrimitive> modified, java.util.Collection<OsmPrimitive> deleted, java.util.Collection<OsmPrimitive> added)
CommandfillModifiedData in class Commandmodified - The modified primitivesdeleted - The deleted primitivesadded - The added primitives