Changeset 34298 in osm


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

update to JOSM 13927

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

Legend:

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

    r34098 r34298  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="13559"/>
     7    <property name="plugin.main.version" value="13927"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/poly/src/poly/DownloadPolyTask.java

    r33570 r34298  
    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.data.osm.DataSet;
     
    2223
    2324    @Override
    24     public Future<?> download(boolean newLayer, Bounds downloadArea, ProgressMonitor progressMonitor) {
     25    public Future<?> download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor) {
    2526        return null;
    2627    }
    2728
    2829    @Override
    29     public Future<?> loadUrl(boolean new_layer, String url, ProgressMonitor progressMonitor) {
    30         downloadTask = new DownloadTask(new_layer, new ServerPolyReader(url), progressMonitor);
     30    public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) {
     31        downloadTask = new DownloadTask(settings, new ServerPolyReader(url), progressMonitor);
    3132        return MainApplication.worker.submit(downloadTask);
    3233    }
Note: See TracChangeset for help on using the changeset viewer.