Ignore:
Timestamp:
2017-05-11T09:12:19+02:00 (8 years ago)
Author:
donvip
Message:

update to JOSM 11713

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  
    4646    private boolean ignoreOneGILayer = false;
    4747
    48     public PhotoAdjustMapMode(MapFrame mapFrame, PhotoAdjustWorker worker) {
     48    public PhotoAdjustMapMode(PhotoAdjustWorker worker) {
    4949        super(tr("Adjust photos"), "photoadjust.png",
    5050              tr("Move and position photos"),
     
    5353                                        tr("Mode: {0}", tr("Adjust photos")),
    5454                                        KeyEvent.CHAR_UNDEFINED, Shortcut.NONE),
    55               mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
     55              Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    5656        GeoImageLayer.registerSupportedMapMode(this);
    5757        initAdapters();
  • applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustPlugin.java

    r32451 r33303  
    7878        if (oldFrame == null && newFrame != null) {
    7979            Main.getLayerManager().addAndFireActiveLayerChangeListener(this);
    80             PhotoAdjustMapMode adjustMode = new PhotoAdjustMapMode(newFrame, worker);
     80            PhotoAdjustMapMode adjustMode = new PhotoAdjustMapMode(worker);
    8181            adjustMode.installMapMode(newFrame);
    8282        } else {
  • applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoPropertyEditor.java

    r32713 r33303  
    431431            LatLon latLon;
    432432            try {
    433                 latLon = LatLonDialog.parseLatLon(coords.getText());
     433                latLon = LatLon.parse(coords.getText());
    434434                if (!latLon.isValid()) {
    435435                    latLon = null;
     
    453453            final String coordsText = coords.getText();
    454454            try {
    455                 latLon = LatLonDialog.parseLatLon(coordsText);
     455                latLon = LatLon.parse(coordsText);
    456456            } catch (IllegalArgumentException exn) {
    457457                latLon = null;
Note: See TracChangeset for help on using the changeset viewer.