Changeset 34292 in osm for applications


Ignore:
Timestamp:
2018-06-16T02:28:21+02:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 13927

Location:
applications/editors/josm/plugins/opendata
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/build.xml

    r34132 r34292  
    11<?xml version="1.0" encoding="utf-8"?>
    22<project name="opendata" default="dist" basedir=".">
    3     <property name="plugin.main.version" value="13007"/>
     3    <property name="plugin.main.version" value="13927"/>
    44    <property name="plugin.author" value="Don-vip"/>
    55    <property name="plugin.class" value="org.openstreetmap.josm.plugins.opendata.OdPlugin"/>
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/actions/DownloadDataTask.java

    r33518 r34292  
    1313import org.openstreetmap.josm.Main;
    1414import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask;
     15import org.openstreetmap.josm.actions.downloadtasks.DownloadParams;
    1516import org.openstreetmap.josm.data.Bounds;
    1617import org.openstreetmap.josm.gui.MainApplication;
     
    3637
    3738    @Override
    38     public Future<?> loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor) {
    39         downloadTask = new InternalDownloadTasK(newLayer, new NetworkReader(url, handler, true), progressMonitor);
     39    public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) {
     40        downloadTask = new InternalDownloadTasK(settings, new NetworkReader(url, handler, true), progressMonitor);
    4041        currentBounds = null;
    4142        if (handler == null || !handler.hasLicenseToBeAccepted() || askLicenseAgreement(handler.getLicense())) {
     
    8485    protected class InternalDownloadTasK extends DownloadTask {
    8586
    86         public InternalDownloadTasK(boolean newLayer, NetworkReader reader, ProgressMonitor progressMonitor) {
    87             super(newLayer, reader, progressMonitor);
     87        public InternalDownloadTasK(DownloadParams settings, NetworkReader reader, ProgressMonitor progressMonitor) {
     88            super(settings, reader, progressMonitor);
    8889        }
    8990
Note: See TracChangeset for help on using the changeset viewer.