Changeset 34298 in osm for applications/editors/josm/plugins/poly/src
- Timestamp:
- 2018-06-16T02:35:38+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/poly/src/poly/DownloadPolyTask.java
r33570 r34298 7 7 8 8 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask; 9 import org.openstreetmap.josm.actions.downloadtasks.DownloadParams; 9 10 import org.openstreetmap.josm.data.Bounds; 10 11 import org.openstreetmap.josm.data.osm.DataSet; … … 22 23 23 24 @Override 24 public Future<?> download( boolean newLayer, Bounds downloadArea, ProgressMonitor progressMonitor) {25 public Future<?> download(DownloadParams settings, Bounds downloadArea, ProgressMonitor progressMonitor) { 25 26 return null; 26 27 } 27 28 28 29 @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); 31 32 return MainApplication.worker.submit(downloadTask); 32 33 }
Note:
See TracChangeset
for help on using the changeset viewer.