Changeset 34298 in osm
- Timestamp:
- 2018-06-16T02:35:38+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/poly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/poly/build.xml
r34098 r34298 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="13 559"/>7 <property name="plugin.main.version" value="13927"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
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.