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 */ 011 void addGui(DownloadDialog gui); 012 013 /** 014 * Sets the current download area. The area may be null to clear 015 * the current download area. 016 * 017 * @param area the current download area 018 */ 019 void setDownloadArea(Bounds area); 020}