Changeset 2215 in josm for trunk/src/org
- Timestamp:
- 2009-09-29T18:13:18+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
r2080 r2215 58 58 */ 59 59 public void openUrl(boolean new_layer, String url) { 60 new DownloadOsmTask().loadUrl(new_layer, url );60 new DownloadOsmTask().loadUrl(new_layer, url, null); 61 61 } 62 62 -
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTask.java
r2201 r2215 104 104 } 105 105 106 public void loadUrl(boolean a,java.lang.String b ) {106 public void loadUrl(boolean a,java.lang.String b, ProgressMonitor progressMonitor) { 107 107 // FIXME this is not currently used 108 108 } -
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r2195 r2215 201 201 * @param The URL as String 202 202 */ 203 public void loadUrl(boolean new_layer, String url ) {203 public void loadUrl(boolean new_layer, String url, ProgressMonitor progressMonitor) { 204 204 Task t = new Task(new_layer, 205 205 new OsmServerLocationReader(url), 206 NullProgressMonitor.INSTANCE); 206 progressMonitor); 207 currentBounds = new Bounds(new LatLon(0,0), new LatLon(0,0)); 207 208 task = Main.worker.submit(t, t); 208 209 } -
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r2142 r2215 59 59 * @param url 60 60 */ 61 void loadUrl(boolean newLayer, String url );61 void loadUrl(boolean newLayer, String url, ProgressMonitor progressMonitor); 62 62 63 63 /**
Note:
See TracChangeset
for help on using the changeset viewer.