Changeset 34546 in osm for applications
- Timestamp:
- 2018-08-18T19:32:55+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/poly
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/poly/build.xml
r34298 r34546 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 3927"/>7 <property name="plugin.main.version" value="14153"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/poly/src/poly/PolyImporter.java
r34098 r34546 13 13 import javax.swing.JOptionPane; 14 14 15 import org.openstreetmap.josm.Main;16 15 import org.openstreetmap.josm.data.coor.LatLon; 17 16 import org.openstreetmap.josm.data.osm.DataSet; … … 19 18 import org.openstreetmap.josm.data.osm.Relation; 20 19 import org.openstreetmap.josm.data.osm.RelationMember; 20 import org.openstreetmap.josm.data.osm.UploadPolicy; 21 21 import org.openstreetmap.josm.data.osm.Way; 22 import org.openstreetmap.josm. data.osm.UploadPolicy;22 import org.openstreetmap.josm.gui.MainApplication; 23 23 import org.openstreetmap.josm.gui.io.importexport.OsmImporter; 24 24 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; … … 136 136 } 137 137 if (fixedCoords > 0) 138 JOptionPane.showMessageDialog(Main .parent,138 JOptionPane.showMessageDialog(MainApplication.getMainFrame(), 139 139 tr("{0} points were outside world bounds and were moved", fixedCoords), "Import poly", JOptionPane.WARNING_MESSAGE); 140 140 return areas; -
applications/editors/josm/plugins/poly/src/poly/PolyType.java
r33003 r34546 2 2 package poly; 3 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 4 6 import org.openstreetmap.josm.actions.ExtensionFileFilter; 5 import static org.openstreetmap.josm.tools.I18n.tr;6 7 7 8 /**
Note:
See TracChangeset
for help on using the changeset viewer.