Ignore:
Timestamp:
2017-08-26T00:23:18+02:00 (8 years ago)
Author:
michael2402
Message:

See #15167: Add javadoc, improve code style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/org/openstreetmap/josm/gui/download/DownloadSource.java

    r12652 r12655  
    22package org.openstreetmap.josm.gui.download;
    33
    4 
    5 import org.openstreetmap.josm.data.Bounds;
    6 
    74/**
    85 * Defines an interface for different download sources.
     6 * <p>
     7 * Plugins may implement this to provide new download sources to the main download dialog.
    98 * @param <T> The type of the data that a download source uses.
     9 * @since 12652
    1010 */
    1111public interface DownloadSource<T> {
     
    1919    /**
    2020     * Downloads the data.
    21      * @param bbox The bounding box. Can be null if no bounding box selected.
    2221     * @param data The required data for the download source.
    2322     * @param settings The global settings of the download dialog, see {@link DownloadDialog}.
    2423     */
    25     void doDownload(Bounds bbox, T data, DownloadSettings settings);
     24    void doDownload(T data, DownloadSettings settings);
    2625
    2726    /**
Note: See TracChangeset for help on using the changeset viewer.