Changeset 34295 in osm for applications/editors/josm
- Timestamp:
- 2018-06-16T02:31:16+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/pbf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf/build.xml
r34098 r34295 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value="13 559"/>5 <property name="plugin.main.version" value="13927"/> 6 6 7 7 <property name="plugin.author" value="Don-vip"/> -
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/action/DownloadPbfTask.java
r33568 r34295 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.gui.MainApplication; … … 24 25 25 26 @Override 26 public Future<?> loadUrl( boolean newLayer, String url, ProgressMonitor progressMonitor) {27 downloadTask = new DownloadTask( newLayer, new PbfServerReader(url), progressMonitor);27 public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) { 28 downloadTask = new DownloadTask(settings, new PbfServerReader(url), progressMonitor); 28 29 // We need submit instead of execute so we can wait for it to finish and get the error 29 30 // message if necessary. If no one calls getErrorMessage() it just behaves like execute.
Note:
See TracChangeset
for help on using the changeset viewer.