Changeset 16581 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
- Timestamp:
- 2009-07-19T18:01:42+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
r16160 r16581 29 29 import org.openstreetmap.josm.gui.MapView; 30 30 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 31 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 31 32 import org.openstreetmap.josm.io.OsmTransferException; 32 33 import org.openstreetmap.josm.io.ProgressInputStream; … … 50 51 @Override 51 52 public void realRun() throws IOException, OsmTransferException { 52 Main.pleaseWaitDlg.currentAction.setText(tr("Contacting WMS Server..."));53 progressMonitor.indeterminateSubTask(tr("Contacting WMS Server...")); 53 54 try { 54 55 if (wmsInterface.retrieveInterface(wmsLayer)) { … … 232 233 wmsInterface.urlConn.setRequestMethod("GET"); 233 234 wmsInterface.setCookie(); 234 InputStream is = new ProgressInputStream(wmsInterface.urlConn, Main.pleaseWaitDlg);235 InputStream is = new ProgressInputStream(wmsInterface.urlConn, NullProgressMonitor.INSTANCE); 235 236 File file = new File(CadastrePlugin.cacheDir + "building.svg"); 236 237 String svg = new String();
Note:
See TracChangeset
for help on using the changeset viewer.