Changeset 33687 in osm
- Timestamp:
- 2017-09-30T15:31:14+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/mapmode/WMSAdjustAction.java
r33640 r33687 22 22 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 23 23 import org.openstreetmap.josm.tools.ImageProvider; 24 import org.openstreetmap.josm.tools.Logging; 24 25 25 26 public class WMSAdjustAction extends MapMode implements … … 44 45 } 45 46 46 @Override public void enterMode() { 47 @Override 48 public void enterMode() { 47 49 if (MainApplication.getMap() != null) { 48 50 if (MainApplication.getLayerManager().getActiveLayer() instanceof WMSLayer) { … … 63 65 } 64 66 65 @Override public void exitMode() { 66 super.exitMode(); 67 @Override 68 public void exitMode() { 69 try { 70 super.exitMode(); 71 } catch (IllegalArgumentException e) { 72 Logging.error(e); 73 } 67 74 MainApplication.getMap().mapView.removeMouseListener(this); 68 75 MainApplication.getMap().mapView.removeMouseMotionListener(this);
Note:
See TracChangeset
for help on using the changeset viewer.