Changeset 35221 in osm for applications/editors/josm/plugins/public_transport/src
- Timestamp:
- 2019-11-03T22:22:25+01:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/actions/StopImporterAction.java
r34718 r35221 28 28 import org.openstreetmap.josm.data.coor.LatLon; 29 29 import org.openstreetmap.josm.data.gpx.GpxData; 30 import org.openstreetmap.josm.data.gpx. GpxTrack;30 import org.openstreetmap.josm.data.gpx.IGpxTrack; 31 31 import org.openstreetmap.josm.data.gpx.WayPoint; 32 32 import org.openstreetmap.josm.data.osm.DataSet; … … 210 210 if (data != null) { 211 211 Vector<TrackReference> trackRefs = new Vector<>(); 212 Iterator< GpxTrack> trackIter = data.tracks.iterator();212 Iterator<IGpxTrack> trackIter = data.tracks.iterator(); 213 213 while (trackIter.hasNext()) { 214 GpxTrack track = trackIter.next();214 IGpxTrack track = trackIter.next(); 215 215 trackRefs.add(new TrackReference(track, this)); 216 216 } -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/refs/TrackReference.java
r35219 r35221 14 14 import org.openstreetmap.josm.data.UndoRedoHandler; 15 15 import org.openstreetmap.josm.data.coor.LatLon; 16 import org.openstreetmap.josm.data.gpx. GpxTrack;16 import org.openstreetmap.josm.data.gpx.IGpxTrack; 17 17 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment; 18 18 import org.openstreetmap.josm.data.gpx.WayPoint; … … 24 24 25 25 public class TrackReference implements Comparable<TrackReference>, TableModelListener { 26 public GpxTrack track;26 public IGpxTrack track; 27 27 28 28 public TrackStoplistTableModel stoplistTM; … … 40 40 public boolean inEvent = false; 41 41 42 public TrackReference( GpxTrack track, StopImporterAction controller) {42 public TrackReference(IGpxTrack track, StopImporterAction controller) { 43 43 this.track = track; 44 44 this.stoplistTM = new TrackStoplistTableModel(this); … … 71 71 } 72 72 73 public GpxTrack getGpxTrack() {73 public IGpxTrack getGpxTrack() { 74 74 return track; 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.