Package org.openstreetmap.josm.command
Provides the classes for JOSM commands allowing to modify an OSM data set.
All of them inherit from
Command
.-
Interface Summary Interface Description DeleteCommand.DeletionCallback Called when a deletion operation must be checked and confirmed by user.PseudoCommand PseudoCommand is a reduced form of a command.SplitWayCommand.Strategy Determines which way chunk should reuse the old id and its history -
Class Summary Class Description AbstractNodesCommand<C extends java.util.Collection<Node>> Abstracts superclass ofChangeNodesCommand
/RemoveNodesCommand
.AddCommand A command that adds an osm primitive to a dataset.AddPrimitivesCommand Add primitives to a data layer.ChangeCommand Command that basically replaces one OSM primitive by another of the same type.ChangeMembersCommand Command that changes the members of a relation.ChangeNodesCommand Command that changes the nodes list of a way.ChangePropertyCommand Command that manipulate the key/value structure of several objects.ChangePropertyCommand.OsmPseudoCommand ChangePropertyKeyCommand Command that replaces the key of one or several objectsChangePropertyKeyCommand.SinglePrimitivePseudoCommand ChangeRelationMemberRoleCommand Command that changes the role of a relation memberCommand Classes implementing Command modify a dataset in a specific way.Command.CloneVisitor Command.OldNodeState Small helper for holding the interesting part of the old data state of the objects.DeleteCommand A command to delete a number of primitives from the dataset.DeleteCommand.DeleteChildCommand MoveCommand MoveCommand moves a set of OsmPrimitives along the map.PurgeCommand Command, to purge a list of primitives.RemoveNodesCommand Command that removes a set of nodes from a way.RotateCommand RotateCommand rotates a number of objects around their centre.ScaleCommand Command, to scale a given set of primitives.SelectCommand Command that selects OSM primitivesSequenceCommand A command consisting of a sequence of other commands.SplitWayCommand Splits a way into multiple ways (all identical except for their node list).SplitWayCommand.Analysis SplitWayCommand.RelationAnalysis SplitWayCommand.RelationInformation TransformNodesCommand Abstract class with common services for nodes rotation and scaling commands. -
Enum Summary Enum Description SplitWayCommand.Direction SplitWayCommand.MissingMemberStrategy SplitWayCommand.WarningType SplitWayCommand.WhenRelationOrderUncertain What to do when the split way is part of relations, and the order of the new parts in the relation cannot be determined without downloading missing relation members.