public class RelationMemberConflictResolverCommand extends Command
Relations.Command.OldNodeState| Modifier and Type | Field and Description |
|---|---|
private OsmDataLayer |
layer
the layer this conflict is resolved in
|
private List<RelationMember> |
mergedMembers
the list of merged nodes.
|
private Relation |
my
my relation
|
private Relation |
their
their relation
|
| Constructor and Description |
|---|
RelationMemberConflictResolverCommand(Relation my,
Relation their,
List<RelationMember> mergedMembers) |
| 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.
|
void |
undoCommand()
Undoes the command.
|
checkAndConfirmOutlyingOperation, getLayer, getOrig, getParticipatingPrimitives, invalidBecauselayerRemovedgetChildrenprivate final List<RelationMember> mergedMembers
private OsmDataLayer layer
public RelationMemberConflictResolverCommand(Relation my, Relation their, List<RelationMember> mergedMembers)
my - my relationtheir - their relationmergedMembers - the list of merged relation memberspublic String getDescriptionText()
PseudoCommandgetDescriptionText in class PseudoCommandpublic Icon getDescriptionIcon()
PseudoCommandgetDescriptionIcon in class PseudoCommandpublic 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 void undoCommand()
CommandundoCommand in class Command