Changeset 32556 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSPlanImage.java
- Timestamp:
- 2016-07-04T14:18:17+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSPlanImage.java
r32060 r32556 1 // License: GPL. v2 and later. Copyright 2008-2009 by Pieren <pieren3@gmail.com> and others1 // License: GPL. For details, see LICENSE file. 2 2 package cadastre_fr; 3 3 … … 24 24 25 25 private class Task extends PleaseWaitRunnable { 26 publicTask(WMSLayer wmsLayer, Bounds bounds) {26 Task(WMSLayer wmsLayer, Bounds bounds) { 27 27 super(tr("Downloading {0}", wmsLayer.getName())); 28 28 } … … 35 35 if (wmsLayer.grabber.getWmsInterface().retrieveInterface(wmsLayer)) { 36 36 if (!wmsLayer.getImages().isEmpty()) { 37 //JOptionPane.showMessageDialog(Main.parent,tr("Image already loaded")); 38 JOptionPane pane = new JOptionPane( 39 tr("Image already loaded") 40 , JOptionPane.INFORMATION_MESSAGE); 37 JOptionPane pane = new JOptionPane(tr("Image already loaded"), JOptionPane.INFORMATION_MESSAGE); 41 38 // this below is a temporary workaround to fix the "always on top" issue 42 39 JDialog dialog = pane.createDialog(Main.parent, ""); … … 45 42 // till here 46 43 dontGeoreference = true; 47 } else if (wmsLayer.grabber.getWmsInterface().downloadCanceled){ 44 } else if (wmsLayer.grabber.getWmsInterface().downloadCanceled) { 48 45 // do nothing 49 46 } else { … … 73 70 "Use the normal Cadastre Grab menu."));*/ 74 71 JOptionPane pane = new JOptionPane( 75 tr("Municipality vectorized !\nUse the normal Cadastre Grab menu.") 76 ,JOptionPane.INFORMATION_MESSAGE);72 tr("Municipality vectorized !\nUse the normal Cadastre Grab menu."), 73 JOptionPane.INFORMATION_MESSAGE); 77 74 // this below is a temporary workaround to fix the "always on top" issue 78 75 JDialog dialog = pane.createDialog(Main.parent, "");
Note:
See TracChangeset
for help on using the changeset viewer.
