001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.gui.download;
003
004import org.openstreetmap.josm.data.Bounds;
005
006public interface DownloadSelection  {
007
008    /**
009     * Add the GUI elements to the dialog.
010     * @param gui download dialog
011     */
012    void addGui(DownloadDialog gui);
013
014    /**
015     * Sets the current download area. The area may be null to clear
016     * the current download area.
017     *
018     * @param area the current download area
019     */
020    void setDownloadArea(Bounds area);
021}