| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file.
|
|---|
| 2 | package org.openstreetmap.josm.gui.download;
|
|---|
| 3 |
|
|---|
| 4 | import org.openstreetmap.josm.data.Bounds;
|
|---|
| 5 |
|
|---|
| 6 | /**
|
|---|
| 7 | * A mean to select a download area in the download dialog.
|
|---|
| 8 | * Currently each selector implementation is accessible through its dedicated tab.
|
|---|
| 9 | * @since 2344
|
|---|
| 10 | */
|
|---|
| 11 | public interface DownloadSelection {
|
|---|
| 12 |
|
|---|
| 13 | /**
|
|---|
| 14 | * Add the GUI elements to the dialog.
|
|---|
| 15 | * @param gui download dialog
|
|---|
| 16 | */
|
|---|
| 17 | void addGui(DownloadDialog gui);
|
|---|
| 18 |
|
|---|
| 19 | /**
|
|---|
| 20 | * Sets the current download area. The area may be null to clear
|
|---|
| 21 | * the current download area.
|
|---|
| 22 | *
|
|---|
| 23 | * @param area the current download area
|
|---|
| 24 | */
|
|---|
| 25 | void setDownloadArea(Bounds area);
|
|---|
| 26 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.