Ignore:
Timestamp:
2018-06-17T11:37:29+02:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 13927

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/actions/downloadtask/DownloadXmlBoundsTask.java

    r34076 r34306  
    77
    88import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask;
     9import org.openstreetmap.josm.actions.downloadtasks.DownloadParams;
    910import org.openstreetmap.josm.data.Bounds;
    1011import org.openstreetmap.josm.gui.MainApplication;
     
    2324
    2425    @Override
    25     public Future<?> download(boolean newLayer, Bounds downloadArea,
     26    public Future<?> download(DownloadParams settings, Bounds downloadArea,
    2627            ProgressMonitor progressMonitor) {
    2728        return null;
     
    2930
    3031    @Override
    31     public Future<?> loadUrl(boolean newLayer, String url,
     32    public Future<?> loadUrl(DownloadParams settings, String url,
    3233            ProgressMonitor progressMonitor) {
    33         downloadTask = new InternalDownloadTask(newLayer,
     34        downloadTask = new InternalDownloadTask(settings,
    3435                new JosmServerLocationReader(url), progressMonitor);
    3536        // We need submit instead of execute so we can wait for it to finish and get the error
     
    5556        /**
    5657         * Constructs a new {@code DownloadTask}.
    57          * @param newLayer if {@code true}, download to a new layer
     58         * @param settings download settings
    5859         * @param reader server reader
    5960         * @param progressMonitor progress monitor
    6061         */
    61         public InternalDownloadTask(boolean newLayer, OsmServerReader reader, ProgressMonitor progressMonitor) {
    62             super(newLayer, reader, progressMonitor);
     62        public InternalDownloadTask(DownloadParams settings, OsmServerReader reader, ProgressMonitor progressMonitor) {
     63            super(settings, reader, progressMonitor);
    6364        }
    6465
Note: See TracChangeset for help on using the changeset viewer.