Changeset 33303 in osm for applications/editors/josm/plugins/photoadjust/src
- Timestamp:
- 2017-05-11T09:12:19+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java
r32863 r33303 46 46 private boolean ignoreOneGILayer = false; 47 47 48 public PhotoAdjustMapMode( MapFrame mapFrame,PhotoAdjustWorker worker) {48 public PhotoAdjustMapMode(PhotoAdjustWorker worker) { 49 49 super(tr("Adjust photos"), "photoadjust.png", 50 50 tr("Move and position photos"), … … 53 53 tr("Mode: {0}", tr("Adjust photos")), 54 54 KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), 55 mapFrame,Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));55 Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); 56 56 GeoImageLayer.registerSupportedMapMode(this); 57 57 initAdapters(); -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustPlugin.java
r32451 r33303 78 78 if (oldFrame == null && newFrame != null) { 79 79 Main.getLayerManager().addAndFireActiveLayerChangeListener(this); 80 PhotoAdjustMapMode adjustMode = new PhotoAdjustMapMode( newFrame,worker);80 PhotoAdjustMapMode adjustMode = new PhotoAdjustMapMode(worker); 81 81 adjustMode.installMapMode(newFrame); 82 82 } else { -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoPropertyEditor.java
r32713 r33303 431 431 LatLon latLon; 432 432 try { 433 latLon = LatLon Dialog.parseLatLon(coords.getText());433 latLon = LatLon.parse(coords.getText()); 434 434 if (!latLon.isValid()) { 435 435 latLon = null; … … 453 453 final String coordsText = coords.getText(); 454 454 try { 455 latLon = LatLon Dialog.parseLatLon(coordsText);455 latLon = LatLon.parse(coordsText); 456 456 } catch (IllegalArgumentException exn) { 457 457 latLon = null;
Note:
See TracChangeset
for help on using the changeset viewer.