    001// License: GPL. For details, see LICENSE file.
    002package org.openstreetmap.josm.plugins.streetside.history.commands;
    003
    004import java.util.Set;
    005
    006import org.openstreetmap.josm.plugins.streetside.StreetsideAbstractImage;
    007
    008/**
    009* Superclass for those commands that must be executed after creation.
    010*
    011* @author nokutu
    012*
    013*/
    014public abstract class StreetsideExecutableCommand extends StreetsideCommand {
    015
    016/**
    017* Main constructor.
    018*
    019* @param images
    020*          The set of images affected by the command.
    021*/
    022public StreetsideExecutableCommand(Set<StreetsideAbstractImage> images) {
    023 super(images);
    024}
    025
    026/**
    027* Executes the command. It is run when the command is added to the history
    028* record.
    029*/
    030public abstract void execute();
    031}