Uses of Class
org.openstreetmap.josm.command.Command

Packages that use Command
org.openstreetmap.josm.actions   
org.openstreetmap.josm.actions.mapmode   
org.openstreetmap.josm.command   
org.openstreetmap.josm.corrector   
org.openstreetmap.josm.data   
org.openstreetmap.josm.data.validation   
org.openstreetmap.josm.data.validation.tests   
org.openstreetmap.josm.gui.conflict.pair   
org.openstreetmap.josm.gui.conflict.pair.properties   
org.openstreetmap.josm.gui.conflict.tags   
org.openstreetmap.josm.gui.dialogs.relation   
org.openstreetmap.josm.gui.tagging   
org.openstreetmap.josm.tools   
 

Uses of Command in org.openstreetmap.josm.actions
 

Fields in org.openstreetmap.josm.actions declared as Command
private  Command SplitWayAction.SplitWayResult.command
           
private  Command ReverseWayAction.ReverseWayResult.reverseCommand
           
 

Fields in org.openstreetmap.josm.actions with type parameters of type Command
private  java.util.LinkedList<Command> JoinAreasAction.cmds
           
private  java.util.Collection<Command> ReverseWayAction.ReverseWayResult.tagCorrectionCommands
           
 

Methods in org.openstreetmap.josm.actions that return Command
 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, java.util.Collection<Node> nodes, Node targetLocationNode)
           
static Command MergeNodesAction.mergeNodes(OsmDataLayer layer, java.util.Collection<Node> nodes, Node targetNode, Node targetLocationNode)
          Merges the nodes in nodes onto one of the nodes.
 

Methods in org.openstreetmap.josm.actions that return types with arguments of type Command
static Pair<Way,Command> CombineWayAction.combineWaysWorker(java.util.Collection<Way> ways)
           
protected static java.util.List<Command> MergeNodesAction.fixParentWays(java.util.Collection<Node> nodesToDelete, Node targetNode)
          Fixes the parent ways referring to one of the nodes.
 java.util.Collection<Command> ReverseWayAction.ReverseWayResult.getCommands()
           
 java.util.Collection<Command> ReverseWayAction.ReverseWayResult.getTagCorrectionCommands()
           
private static java.util.Collection<Command> OrthogonalizeAction.orthogonalize(java.util.ArrayList<OrthogonalizeAction.WayData> wayDataList, java.util.ArrayList<Node> headingNodes)
          Outline: 1.
private  java.util.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
 

Method parameters in org.openstreetmap.josm.actions with type arguments of type Command
private  void AlignInLineAction.createAlignNodesCommands(Node[] anchors, java.util.Collection<Node> nodes, java.util.Collection<Command> cmds)
           
private  void UnGlueAction.fixRelations(Node originalNode, java.util.List<Command> cmds, java.util.List<Node> newNodes)
          put all newNodes into the same relation(s) that originalNode is in
private  Way UnGlueAction.modifyWay(Node originalNode, Way w, java.util.List<Command> cmds, java.util.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.
 

Constructors in org.openstreetmap.josm.actions with parameters of type Command
ReverseWayAction.ReverseWayResult(Way newWay, java.util.Collection<Command> tagCorrectionCommands, Command reverseCommand)
           
SplitWayAction.SplitWayResult(Command command, java.util.List<? extends PrimitiveId> newSelection, Way originalWay, java.util.List<Way> newWays)
           
 

Constructor parameters in org.openstreetmap.josm.actions with type arguments of type Command
ReverseWayAction.ReverseWayResult(Way newWay, java.util.Collection<Command> tagCorrectionCommands, Command reverseCommand)
           
 

Uses of Command in org.openstreetmap.josm.actions.mapmode
 

Methods in org.openstreetmap.josm.actions.mapmode that return Command
private  Command DeleteAction.buildDeleteCommands(java.awt.event.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
 

Methods in org.openstreetmap.josm.actions.mapmode that return types with arguments of type Command
private  java.util.List<Command> ParallelWays.makeAddWayAndNodesCommandList()
           
 

Method parameters in org.openstreetmap.josm.actions.mapmode with type arguments of type Command
private  void DrawAction.insertNodeIntoAllNearbySegments(java.util.List<WaySegment> wss, Node n, java.util.Collection<OsmPrimitive> newSelection, java.util.Collection<Command> cmds, java.util.ArrayList<Way> replacedWays, java.util.ArrayList<Way> reuseWays)
           
 

Uses of Command in org.openstreetmap.josm.command
 

Subclasses of Command in org.openstreetmap.josm.command
 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 several objects
 class ChangeRelationMemberRoleCommand
          Command that changes the role of a relation member
 class ConflictAddCommand
           
 class ConflictResolveCommand
          This is the common base class for Commands which manipulate Conflicts in addition to OsmPrimitives.
 class CoordinateConflictResolveCommand
          Represents a the resolution of a conflict between the coordinates of two Nodes
 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 Nodes
 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 Relations.
 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 Ways.
 

Fields in org.openstreetmap.josm.command declared as Command
private  Command[] SequenceCommand.sequence
          The command sequenz to be executed.
 

Methods in org.openstreetmap.josm.command that return Command
static Command DeleteCommand.delete(OsmDataLayer layer, java.util.Collection<? extends OsmPrimitive> selection)
           
static Command DeleteCommand.delete(OsmDataLayer layer, java.util.Collection<? extends OsmPrimitive> selection, boolean alsoDeleteNodesInWay)
          Try to delete all given primitives.
static Command DeleteCommand.delete(OsmDataLayer layer, java.util.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, java.util.Collection<? extends OsmPrimitive> selection)
           
static Command DeleteCommand.deleteWithReferences(OsmDataLayer layer, java.util.Collection<? extends OsmPrimitive> selection, boolean silent)
          Delete the primitives and everything they reference.
 Command SequenceCommand.getLastCommand()
           
 

Constructors in org.openstreetmap.josm.command with parameters of type Command
SequenceCommand(java.lang.String name, Command... sequenz)
          Convenient constructor, if the commands are known at compile time.
 

Constructor parameters in org.openstreetmap.josm.command with type arguments of type Command
SequenceCommand(java.lang.String name, java.util.Collection<Command> sequenz)
          Create the command by specifying the list of commands to execute.
 

Uses of Command in org.openstreetmap.josm.corrector
 

Methods in org.openstreetmap.josm.corrector that return types with arguments of type Command
protected  java.util.Collection<Command> TagCorrector.applyCorrections(java.util.Map<OsmPrimitive,java.util.List<TagCorrection>> tagCorrectionsMap, java.util.Map<OsmPrimitive,java.util.List<RoleCorrection>> roleCorrectionMap, java.lang.String description)
           
abstract  java.util.Collection<Command> TagCorrector.execute(P primitive, P oldprimitive)
           
 java.util.Collection<Command> ReverseWayTagCorrector.execute(Way oldway, Way way)
           
 

Uses of Command in org.openstreetmap.josm.data
 

Fields in org.openstreetmap.josm.data with type parameters of type Command
 java.util.LinkedList<Command> UndoRedoHandler.commands
          All commands that were made on the dataset.
 java.util.LinkedList<Command> UndoRedoHandler.redoCommands
          The stack for redoing commands
 

Methods in org.openstreetmap.josm.data with parameters of type Command
 void UndoRedoHandler.add(Command c)
          Execute the command and add it to the intern command queue.
 void UndoRedoHandler.addNoRedraw(Command c)
          Execute the command and add it to the intern command queue.
 

Uses of Command in org.openstreetmap.josm.data.validation
 

Methods in org.openstreetmap.josm.data.validation that return Command
protected  Command Test.deletePrimitivesIfNeeded(java.util.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 TestError.getFix()
          Fixes the error with the appropriate command
 

Uses of Command in org.openstreetmap.josm.data.validation.tests
 

Methods in org.openstreetmap.josm.data.validation.tests that return Command
 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 UntaggedNode.fixError(TestError testError)
           
 Command Coastlines.fixError(TestError testError)
           
 Command PowerLines.fixError(TestError testError)
           
 Command DuplicatedWayNodes.fixError(TestError testError)
           
 Command UntaggedWay.fixError(TestError testError)
           
 Command DuplicateNode.fixError(TestError testError)
          Merge the nodes into one.
 Command TagChecker.fixError(TestError testError)
           
(package private)  Command DeprecatedTags.DeprecationCheck.fixPrimitive(OsmPrimitive p)
           
 Command DeprecatedTags.DeprecationError.getFix()
           
 

Uses of Command in org.openstreetmap.josm.gui.conflict.pair
 

Methods in org.openstreetmap.josm.gui.conflict.pair that return Command
 Command ConflictResolver.buildResolveCommand()
          Builds the resolution command(s) for the resolved conflicts in this ConflictResolver
 

Uses of Command in org.openstreetmap.josm.gui.conflict.pair.properties
 

Methods in org.openstreetmap.josm.gui.conflict.pair.properties that return types with arguments of type Command
 java.util.List<Command> PropertiesMergeModel.buildResolveCommand(Conflict<? extends OsmPrimitive> conflict)
          Builds the command(s) to apply the conflict resolutions to my primitive
 

Uses of Command in org.openstreetmap.josm.gui.conflict.tags
 

Methods in org.openstreetmap.josm.gui.conflict.tags that return Command
 Command MultiValueResolutionDecision.buildChangeCommand(java.util.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(java.util.Collection<? extends OsmPrimitive> primitives)
           
 

Methods in org.openstreetmap.josm.gui.conflict.tags that return types with arguments of type Command
 java.util.List<Command> CombinePrimitiveResolverDialog.buildResolutionCommands()
          Replies the list of commands needed to apply resolution choices.
 java.util.List<Command> RelationMemberConflictResolverModel.buildResolutionCommands(OsmPrimitive newPrimitive)
          Builds a collection of commands executing the decisions made in this model.
protected  java.util.List<Command> CombinePrimitiveResolverDialog.buildTagChangeCommand(OsmPrimitive primitive, TagCollection tc)
           
static java.util.List<Command> CombinePrimitiveResolverDialog.launchIfNecessary(TagCollection tagsOfPrimitives, java.util.Collection<? extends OsmPrimitive> primitives, java.util.Collection<? extends OsmPrimitive> targetPrimitives)
          Replies the list of commands needed to resolve specified conflicts, by displaying if necessary a CombinePrimitiveResolverDialog to the user.
 

Uses of Command in org.openstreetmap.josm.gui.dialogs.relation
 

Methods in org.openstreetmap.josm.gui.dialogs.relation that return Command
static Command GenericRelationEditor.addPrimitivesToRelation(Relation orig, java.util.Collection<? extends OsmPrimitive> primitivesToAdd)
           
 

Uses of Command in org.openstreetmap.josm.gui.tagging
 

Methods in org.openstreetmap.josm.gui.tagging that return Command
static Command TaggingPreset.createCommand(java.util.Collection<OsmPrimitive> sel, java.util.List<Tag> changedTags)
           
protected  Command TagEditorModel.createDeleteTagsCommand(java.util.Collection<OsmPrimitive> primitives)
           
protected  Command TagEditorModel.createUpdateTagCommand(java.util.Collection<OsmPrimitive> primitives, TagModel tag)
           
 

Uses of Command in org.openstreetmap.josm.tools
 

Method parameters in org.openstreetmap.josm.tools with type arguments of type Command
static java.util.Set<Node> Geometry.addIntersections(java.util.List<Way> ways, boolean test, java.util.List<Command> cmds)
          Will find all intersection and add nodes there for list of given ways.
 



JOSM