Class StreetsideExecutableCommand
- java.lang.Object
-
- org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideCommand
-
- org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideExecutableCommand
-
- Direct Known Subclasses:
CommandJoin,CommandUnjoin
public abstract class StreetsideExecutableCommand extends StreetsideCommand
Superclass for those commands that must be executed after creation.
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideCommand
images
-
-
Constructor Summary
Constructors Constructor Description StreetsideExecutableCommand(java.util.Set<StreetsideAbstractImage> images)Main constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidexecute()Executes the command.-
Methods inherited from class org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideCommand
redo, sum, toString, undo
-
-
-
-
Constructor Detail
-
StreetsideExecutableCommand
public StreetsideExecutableCommand(java.util.Set<StreetsideAbstractImage> images)
Main constructor.- Parameters:
images- The set of images affected by the command.
-
-
Method Detail
-
execute
public abstract void execute()
Executes the command. It is run when the command is added to the history record.
-
-