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

update to JOSM 11713

Location:
applications/editors/josm/plugins/photoadjust
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/photoadjust/build.xml

    r32680 r33303  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="10580"/>
     7    <property name="plugin.main.version" value="11713"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • 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.