Changeset 35221 in osm for applications/editors/josm/plugins/editgpx
- Timestamp:
- 2019-11-03T22:22:25+01:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/editgpx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/editgpx/build.xml
r35211 r35221 4 4 <property name="commit.message" value="Changed constructor signature of plugin main class"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="15 496"/>6 <property name="plugin.main.version" value="15502"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxData.java
r34737 r35221 8 8 import org.openstreetmap.josm.data.gpx.GpxRoute; 9 9 import org.openstreetmap.josm.data.gpx.GpxTrack; 10 import org.openstreetmap.josm.data.gpx.IGpxTrack; 10 11 import org.openstreetmap.josm.data.gpx.WayPoint; 11 12 … … 18 19 19 20 public void load(GpxData data) { 20 for (GpxTrack track: data.tracks) { 21 for (IGpxTrack track: data.tracks) { 21 22 tracks.add(new EditGpxTrack(track)); 22 23 } -
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrack.java
r35211 r35221 12 12 13 13 import org.openstreetmap.josm.data.gpx.GpxTrack; 14 import org.openstreetmap.josm.data.gpx.IGpxTrack; 14 15 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment; 15 16 import org.openstreetmap.josm.data.gpx.WayPoint; … … 21 22 private boolean isDeleted; 22 23 23 public EditGpxTrack(GpxTrack track) { 24 public EditGpxTrack(IGpxTrack track) { 24 25 attributes.putAll(track.getAttributes()); 25 26 for (IGpxTrackSegment segment: track.getSegments()) {
Note:
See TracChangeset
for help on using the changeset viewer.