Changeset 34290 in osm
- Timestamp:
- 2018-06-16T02:21:56+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/build.xml
r34139 r34290 4 4 <property name="commit.message" value="Changed constructor for Plugin"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="13 564"/>6 <property name="plugin.main.version" value="13927"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/download/CadastreDownloadTask.java
r33684 r34290 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; … … 23 24 24 25 @Override 25 public Future<?> loadUrl( boolean newLayer, String url, ProgressMonitor progressMonitor) {26 downloadTask = new InternalDownloadTask( newLayer, url, progressMonitor);26 public Future<?> loadUrl(DownloadParams settings, String url, ProgressMonitor progressMonitor) { 27 downloadTask = new InternalDownloadTask(settings, url, progressMonitor); 27 28 currentBounds = null; 28 29 return MainApplication.worker.submit(downloadTask); … … 43 44 private final String url; 44 45 45 InternalDownloadTask( boolean newLayer, String url, ProgressMonitor progressMonitor) {46 super( newLayer, new CadastreServerReader(url), progressMonitor);46 InternalDownloadTask(DownloadParams settings, String url, ProgressMonitor progressMonitor) { 47 super(settings, new CadastreServerReader(url), progressMonitor); 47 48 this.url = url; 48 49 }
Note:
See TracChangeset
for help on using the changeset viewer.