Modifier and Type | Field and Description |
---|---|
private Command |
SplitWayAction.SplitWayResult.command |
private Command |
ReverseWayAction.ReverseWayResult.reverseCommand |
Modifier and Type | Field and Description |
---|---|
private LinkedList<Command> |
JoinAreasAction.cmds |
private Collection<Command> |
ReverseWayAction.ReverseWayResult.tagCorrectionCommands |
Modifier and Type | Method and Description |
---|---|
Command |
ReverseWayAction.ReverseWayResult.getAsSequenceCommand() |
Command |
SplitWayAction.SplitWayResult.getCommand()
Replies the command to be performed to split the way
|
Command |
ReverseWayAction.ReverseWayResult.getReverseCommand() |
static Command |
MergeNodesAction.mergeNodes(OsmDataLayer layer,
Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
static Command |
MergeNodesAction.mergeNodes(OsmDataLayer layer,
Collection<Node> nodes,
Node targetNode,
Node targetLocationNode)
Merges the nodes in
nodes onto one of the nodes. |
Modifier and Type | Method and Description |
---|---|
static Pair<Way,Command> |
CombineWayAction.combineWaysWorker(Collection<Way> ways) |
protected static List<Command> |
MergeNodesAction.fixParentWays(Collection<Node> nodesToDelete,
Node targetNode)
Fixes the parent ways referring to one of the nodes.
|
Collection<Command> |
ReverseWayAction.ReverseWayResult.getCommands() |
Collection<Command> |
ReverseWayAction.ReverseWayResult.getTagCorrectionCommands() |
private static Collection<Command> |
OrthogonalizeAction.orthogonalize(List<OrthogonalizeAction.WayData> wayDataList,
List<Node> headingNodes)
Outline:
1.
|
private List<Command> |
CreateMultipolygonAction.removeTagsFromWaysIfNeeded(Relation relation)
This method removes tags/value pairs from inner and outer ways and put them on relation if necessary
Function was extended in reltoolbox plugin by Zverikk and copied back to the core
|
Modifier and Type | Method and Description |
---|---|
private static void |
PasteTagsAction.commitCommands(Collection<OsmPrimitive> selection,
List<Command> commands)
Create and execute SequenceCommand with descriptive title
|
private void |
AlignInLineAction.createAlignNodesCommands(Node[] anchors,
Collection<Node> nodes,
Collection<Command> cmds) |
private void |
UnGlueAction.fixRelations(Node originalNode,
List<Command> cmds,
List<Node> newNodes)
put all newNodes into the same relation(s) that originalNode is in
|
private Way |
UnGlueAction.modifyWay(Node originalNode,
Way w,
List<Command> cmds,
List<Node> newNodes)
dupe the given node of the given way
assume that OrginalNode is in the way
-> the new node will be put into the parameter newNodes.
-> the add-node command will be put into the parameter cmds.
-> the changed way will be returned and must be put into cmds by the caller!
|
Constructor and Description |
---|
ReverseWayResult(Way newWay,
Collection<Command> tagCorrectionCommands,
Command reverseCommand) |
SplitWayResult(Command command,
List<? extends PrimitiveId> newSelection,
Way originalWay,
List<Way> newWays) |
Constructor and Description |
---|
ReverseWayResult(Way newWay,
Collection<Command> tagCorrectionCommands,
Command reverseCommand) |
Modifier and Type | Method and Description |
---|---|
private Command |
DeleteAction.buildDeleteCommands(MouseEvent e,
int modifiers,
boolean silent)
This function takes any mouse event argument and builds the list of elements
that should be deleted but does not actually delete them.
|
private Command |
SelectAction.getLastCommand()
Obtain command in undoRedo stack to "continue" when dragging
|
Modifier and Type | Method and Description |
---|---|
private List<Command> |
ParallelWays.makeAddWayAndNodesCommandList() |
Modifier and Type | Method and Description |
---|---|
private void |
DrawAction.insertNodeIntoAllNearbySegments(List<WaySegment> wss,
Node n,
Collection<OsmPrimitive> newSelection,
Collection<Command> cmds,
List<Way> replacedWays,
List<Way> reuseWays) |
Modifier and Type | Class and Description |
---|---|
class |
AddCommand
A command that adds an osm primitive to a dataset.
|
class |
AddPrimitivesCommand
Add primitives to a data layer.
|
class |
ChangeCommand
Command that basically replaces one OSM primitive by another of the same type.
|
class |
ChangeNodesCommand
Command that changes the nodes list of a way.
|
class |
ChangePropertyCommand
Command that manipulate the key/value structure of several objects.
|
class |
ChangePropertyKeyCommand
Command that replaces the key of one or several objects
|
class |
ChangeRelationMemberRoleCommand
Command that changes the role of a relation member
|
class |
ConflictAddCommand |
class |
ConflictResolveCommand
|
class |
CoordinateConflictResolveCommand
Represents a the resolution of a conflict between the coordinates of two
Node s |
class |
DeleteCommand
A command to delete a number of primitives from the dataset.
|
class |
DeletedStateConflictResolveCommand
Represents a the resolution of a conflict between the coordinates of two
Node s |
class |
ModifiedConflictResolveCommand
Represents a command for to set the modified flag
OsmPrimitive |
class |
MoveCommand
MoveCommand moves a set of OsmPrimitives along the map.
|
class |
PurgeCommand
Command, to purge a list of primitives.
|
class |
RelationMemberConflictResolverCommand
Represent a command for resolving conflicts in the member lists of two
Relation s. |
class |
RemoveNodesCommand
Command that removes a set of nodes from a way.
|
class |
RotateCommand
RotateCommand rotates a number of objects around their centre.
|
class |
ScaleCommand |
class |
SequenceCommand
A command consisting of a sequence of other commands.
|
class |
TagConflictResolveCommand
Represents a the resolution of a tag conflict in an
OsmPrimitive |
class |
TransformNodesCommand
Abstract class with common services for nodes rotation and scaling commands.
|
class |
VersionConflictResolveCommand
Represents a command for resolving a version conflict between two
OsmPrimitive |
class |
WayNodesConflictResolverCommand
Represent a command for resolving conflicts in the node list of two
Way s. |
Modifier and Type | Field and Description |
---|---|
private Command[] |
SequenceCommand.sequence
The command sequence to be executed.
|
Modifier and Type | Method and Description |
---|---|
static Command |
DeleteCommand.delete(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection) |
static Command |
DeleteCommand.delete(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection,
boolean alsoDeleteNodesInWay)
Try to delete all given primitives.
|
static Command |
DeleteCommand.delete(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection,
boolean alsoDeleteNodesInWay,
boolean silent)
Try to delete all given primitives.
|
static Command |
DeleteCommand.deleteWaySegment(OsmDataLayer layer,
WaySegment ws) |
static Command |
DeleteCommand.deleteWithReferences(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection) |
static Command |
DeleteCommand.deleteWithReferences(OsmDataLayer layer,
Collection<? extends OsmPrimitive> selection,
boolean silent)
Delete the primitives and everything they reference.
|
Command |
SequenceCommand.getLastCommand()
Returns the last command.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SequenceCommand.setSequence(Command[] sequence) |
Constructor and Description |
---|
SequenceCommand(String name,
Command... sequenz)
Convenient constructor, if the commands are known at compile time.
|
Constructor and Description |
---|
SequenceCommand(String name,
Collection<Command> sequenz)
Create the command by specifying the list of commands to execute.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<Command> |
TagCorrector.applyCorrections(Map<OsmPrimitive,List<TagCorrection>> tagCorrectionsMap,
Map<OsmPrimitive,List<RoleCorrection>> roleCorrectionMap,
String description) |
abstract Collection<Command> |
TagCorrector.execute(P primitive,
P oldprimitive) |
Collection<Command> |
ReverseWayTagCorrector.execute(Way oldway,
Way way) |
Modifier and Type | Field and Description |
---|---|
LinkedList<Command> |
UndoRedoHandler.commands
All commands that were made on the dataset.
|
LinkedList<Command> |
UndoRedoHandler.redoCommands
The stack for redoing commands
|
Modifier and Type | Method and Description |
---|---|
void |
UndoRedoHandler.add(Command c)
Executes the command and add it to the intern command queue.
|
void |
UndoRedoHandler.addNoRedraw(Command c)
Executes the command and add it to the intern command queue.
|
Modifier and Type | Field and Description |
---|---|
protected Command |
FixableTestError.fix |
Modifier and Type | Method and Description |
---|---|
protected Command |
Test.deletePrimitivesIfNeeded(Collection<? extends OsmPrimitive> primitives)
Build a Delete command on all primitives that have not yet been deleted manually by user, or by another error fix.
|
Command |
Test.fixError(TestError testError)
Fixes the error with the appropriate command
|
Command |
FixableTestError.getFix() |
Command |
TestError.getFix()
Fixes the error with the appropriate command
|
Constructor and Description |
---|
FixableTestError(Test tester,
Severity severity,
String message,
int code,
Collection<? extends OsmPrimitive> primitives,
Collection<?> highlighted,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
int code,
Collection<? extends OsmPrimitive> primitives,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
int code,
OsmPrimitive primitive,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
Collection<? extends OsmPrimitive> primitives,
Collection<?> highlighted,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
Collection<? extends OsmPrimitive> primitives,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
OsmPrimitive primitive,
Command fix) |
Modifier and Type | Method and Description |
---|---|
Command |
PowerLines.fixError(TestError testError) |
Command |
Highways.fixError(TestError testError) |
Command |
UntaggedWay.fixError(TestError testError) |
Command |
Coastlines.fixError(TestError testError) |
Command |
DuplicatedWayNodes.fixError(TestError testError) |
Command |
RelationChecker.fixError(TestError testError) |
Command |
UntaggedNode.fixError(TestError testError) |
Command |
DuplicateWay.fixError(TestError testError)
Fix the error by removing all but one instance of duplicate ways
|
Command |
DuplicateRelation.fixError(TestError testError)
Fix the error by removing all but one instance of duplicate relations
|
Command |
DuplicateNode.fixError(TestError testError)
Merge the nodes into one.
|
Command |
TagChecker.fixError(TestError testError) |
(package private) Command |
DeprecatedTags.DeprecationCheck.fixPrimitive(OsmPrimitive p)
Constructs a fix in terms of a
Command for the OsmPrimitive . |
Command |
DeprecatedTags.DeprecationError.getFix() |
Modifier and Type | Method and Description |
---|---|
Command |
ConflictResolver.buildResolveCommand()
Builds the resolution command(s) for the resolved conflicts in this
ConflictResolver
|
Modifier and Type | Method and Description |
---|---|
List<Command> |
PropertiesMergeModel.buildResolveCommand(Conflict<? extends OsmPrimitive> conflict)
Builds the command(s) to apply the conflict resolutions to my primitive
|
Modifier and Type | Method and Description |
---|---|
Command |
MultiValueResolutionDecision.buildChangeCommand(Collection<? extends OsmPrimitive> primitives)
Builds a change command for applying this resolution to a collection of primitives
|
Command |
MultiValueResolutionDecision.buildChangeCommand(OsmPrimitive primitive)
Builds a change command for applying this resolution to a primitive
|
protected Command |
RelationMemberConflictResolverModel.buildResolveCommand(Relation relation,
OsmPrimitive newPrimitive) |
Command |
RelationMemberConflictResolver.buildTagApplyCommands(Collection<? extends OsmPrimitive> primitives) |
Modifier and Type | Method and Description |
---|---|
List<Command> |
CombinePrimitiveResolverDialog.buildResolutionCommands()
Replies the list of
commands needed to apply resolution choices. |
List<Command> |
RelationMemberConflictResolverModel.buildResolutionCommands(OsmPrimitive newPrimitive)
Builds a collection of commands executing the decisions made in this model.
|
protected List<Command> |
CombinePrimitiveResolverDialog.buildTagChangeCommand(OsmPrimitive primitive,
TagCollection tc) |
static List<Command> |
CombinePrimitiveResolverDialog.launchIfNecessary(TagCollection tagsOfPrimitives,
Collection<? extends OsmPrimitive> primitives,
Collection<? extends OsmPrimitive> targetPrimitives)
Replies the list of
commands needed to resolve specified conflicts,
by displaying if necessary a CombinePrimitiveResolverDialog to the user. |
Modifier and Type | Method and Description |
---|---|
static Command |
GenericRelationEditor.addPrimitivesToRelation(Relation orig,
Collection<? extends OsmPrimitive> primitivesToAdd) |
Modifier and Type | Method and Description |
---|---|
static Command |
TaggingPreset.createCommand(Collection<OsmPrimitive> sel,
List<Tag> changedTags) |
protected Command |
TagEditorModel.createDeleteTagsCommand(Collection<OsmPrimitive> primitives) |
protected Command |
TagEditorModel.createUpdateTagCommand(Collection<OsmPrimitive> primitives,
TagModel tag) |
Modifier and Type | Method and Description |
---|---|
(package private) Node |
AddWayHandler.findOrCreateNode(LatLon ll,
List<Command> commands)
Find the node with almost the same ccords in dataset or in already added nodes
|
Modifier and Type | Method and Description |
---|---|
static Set<Node> |
Geometry.addIntersections(List<Way> ways,
boolean test,
List<Command> cmds)
Will find all intersection and add nodes there for list of given ways.
|