Changeset 34292 in osm for applications
- Timestamp:
- 2018-06-16T02:28:21+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/opendata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/build.xml
r34132 r34292 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="opendata" default="dist" basedir="."> 3 <property name="plugin.main.version" value="13 007"/>3 <property name="plugin.main.version" value="13927"/> 4 4 <property name="plugin.author" value="Don-vip"/> 5 5 <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 13 13 import org.openstreetmap.josm.Main; 14 14 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask; 15 import org.openstreetmap.josm.actions.downloadtasks.DownloadParams; 15 16 import org.openstreetmap.josm.data.Bounds; 16 17 import org.openstreetmap.josm.gui.MainApplication; … … 36 37 37 38 @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); 40 41 currentBounds = null; 41 42 if (handler == null || !handler.hasLicenseToBeAccepted() || askLicenseAgreement(handler.getLicense())) { … … 84 85 protected class InternalDownloadTasK extends DownloadTask { 85 86 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); 88 89 } 89 90
Note:
See TracChangeset
for help on using the changeset viewer.