Changeset 32556 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.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/MenuActionGrabPlanImage.java
r32329 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 … … 25 25 private WMSLayer wmsLayer; 26 26 private RasterImageGeoreferencer rasterImageGeoreferencer; 27 27 28 28 public MenuActionGrabPlanImage() { 29 29 super(tr(name), "cadastre_small", tr("Grab non-georeferenced image"), null, false, "cadastrefr/grabplanimage", true); … … 36 36 if (!rasterImageGeoreferencer.isRunning()) return; 37 37 if (Main.getLayerManager().containsLayer(wmsLayer)) 38 return;38 return; 39 39 JOptionPane.showMessageDialog(Main.parent, tr("Georeferencing interrupted")); 40 40 rasterImageGeoreferencer.actionInterrupted(); … … 42 42 43 43 @Override 44 public void actionPerformed(ActionEvent ae) {44 public void actionPerformed(ActionEvent ae) { 45 45 if (Main.map != null) { 46 46 if (CadastrePlugin.isCadastreProjection()) { … … 58 58 59 59 @Override 60 public void run() {60 public void run() { 61 61 // wait until plan image is fully loaded and joined into one single image 62 62 boolean loadedFromCache = downloadWMSPlanImage.waitFinished();
Note:
See TracChangeset
for help on using the changeset viewer.
