Changeset 12655 in josm for trunk/src/org/openstreetmap/josm/gui/download/DownloadSource.java
- Timestamp:
- 2017-08-26T00:23:18+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/org/openstreetmap/josm/gui/download/DownloadSource.java ¶
r12652 r12655 2 2 package org.openstreetmap.josm.gui.download; 3 3 4 5 import org.openstreetmap.josm.data.Bounds;6 7 4 /** 8 5 * Defines an interface for different download sources. 6 * <p> 7 * Plugins may implement this to provide new download sources to the main download dialog. 9 8 * @param <T> The type of the data that a download source uses. 9 * @since 12652 10 10 */ 11 11 public interface DownloadSource<T> { … … 19 19 /** 20 20 * Downloads the data. 21 * @param bbox The bounding box. Can be null if no bounding box selected.22 21 * @param data The required data for the download source. 23 22 * @param settings The global settings of the download dialog, see {@link DownloadDialog}. 24 23 */ 25 void doDownload( Bounds bbox,T data, DownloadSettings settings);24 void doDownload(T data, DownloadSettings settings); 26 25 27 26 /**
Note:
See TracChangeset
for help on using the changeset viewer.
