Changeset 34290 in osm


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

update to JOSM 13927

Location:
applications/editors/josm/plugins/cadastre-fr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/build.xml

    r34139 r34290  
    44    <property name="commit.message" value="Changed constructor for Plugin"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="13564"/>
     6    <property name="plugin.main.version" value="13927"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/download/CadastreDownloadTask.java

    r33684 r34290  
    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<?> loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor) {
    26         downloadTask = new InternalDownloadTask(newLayer, url, progressMonitor);
     26    public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) {
     27        downloadTask = new InternalDownloadTask(settings, url, progressMonitor);
    2728        currentBounds = null;
    2829        return MainApplication.worker.submit(downloadTask);
     
    4344        private final String url;
    4445
    45         InternalDownloadTask(boolean newLayer, String url, ProgressMonitor progressMonitor) {
    46             super(newLayer, new CadastreServerReader(url), progressMonitor);
     46        InternalDownloadTask(DownloadParams settings, String url, ProgressMonitor progressMonitor) {
     47            super(settings, new CadastreServerReader(url), progressMonitor);
    4748            this.url = url;
    4849        }
Note: See TracChangeset for help on using the changeset viewer.