001 // License: GPL. Copyright 2007 by Immanuel Scholz and others 002 package org.openstreetmap.josm.gui.download; 003 004 import org.openstreetmap.josm.data.Bounds; 005 006 public 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 are the current download area 018 */ 019 public void setDownloadArea(Bounds area); 020 }