Changeset 34503 in osm for applications/editors/josm


Ignore:
Timestamp:
2018-08-18T03:46:17+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 14153

Location:
applications/editors/josm/plugins/download_along
Files:
2 edited

Legend:

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

    r33710 r34503  
    44    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="12643"/>
     6    <property name="plugin.main.version" value="14153"/>
    77
    88        <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/download_along/src/org/openstreetmap/josm/plugin/download_along/DownloadAlongWayAction.java

    r34081 r34503  
    1515import javax.swing.JOptionPane;
    1616
    17 import org.openstreetmap.josm.Main;
    1817import org.openstreetmap.josm.actions.DownloadAlongAction;
    1918import org.openstreetmap.josm.data.coor.LatLon;
     
    2120import org.openstreetmap.josm.data.osm.OsmPrimitive;
    2221import org.openstreetmap.josm.data.osm.Way;
     22import org.openstreetmap.josm.gui.MainApplication;
    2323import org.openstreetmap.josm.gui.help.HelpUtil;
    2424import org.openstreetmap.josm.gui.layer.gpx.DownloadAlongPanel;
     
    4747
    4848        if (selectedWays.isEmpty()) {
    49             JOptionPane.showMessageDialog(Main.parent, tr("Please select 1 or more ways to download along"));
     49            JOptionPane.showMessageDialog(MainApplication.getMainFrame(), tr("Please select 1 or more ways to download along"));
    5050            return;
    5151        }
Note: See TracChangeset for help on using the changeset viewer.