Changeset 34546 in osm for applications


Ignore:
Timestamp:
2018-08-18T19:32:55+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 14153

Location:
applications/editors/josm/plugins/poly
Files:
3 edited

Legend:

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

    r34298 r34546  
    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="13927"/>
     7    <property name="plugin.main.version" value="14153"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/poly/src/poly/PolyImporter.java

    r34098 r34546  
    1313import javax.swing.JOptionPane;
    1414
    15 import org.openstreetmap.josm.Main;
    1615import org.openstreetmap.josm.data.coor.LatLon;
    1716import org.openstreetmap.josm.data.osm.DataSet;
     
    1918import org.openstreetmap.josm.data.osm.Relation;
    2019import org.openstreetmap.josm.data.osm.RelationMember;
     20import org.openstreetmap.josm.data.osm.UploadPolicy;
    2121import org.openstreetmap.josm.data.osm.Way;
    22 import org.openstreetmap.josm.data.osm.UploadPolicy;
     22import org.openstreetmap.josm.gui.MainApplication;
    2323import org.openstreetmap.josm.gui.io.importexport.OsmImporter;
    2424import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
     
    136136        }
    137137        if (fixedCoords > 0)
    138             JOptionPane.showMessageDialog(Main.parent,
     138            JOptionPane.showMessageDialog(MainApplication.getMainFrame(),
    139139                    tr("{0} points were outside world bounds and were moved", fixedCoords), "Import poly", JOptionPane.WARNING_MESSAGE);
    140140        return areas;
  • applications/editors/josm/plugins/poly/src/poly/PolyType.java

    r33003 r34546  
    22package poly;
    33
     4import static org.openstreetmap.josm.tools.I18n.tr;
     5
    46import org.openstreetmap.josm.actions.ExtensionFileFilter;
    5 import static org.openstreetmap.josm.tools.I18n.tr;
    67
    78/**
Note: See TracChangeset for help on using the changeset viewer.