Changeset 35219 in osm for applications/editors/josm/plugins/public_transport/src
- Timestamp:
- 2019-11-02T15:49:01+01:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/GTFSAddCommand.java
r34718 r35219 21 21 private GTFSStopTableModel gtfsStopTM = null; 22 22 23 private String type = null;24 25 23 public GTFSAddCommand(GTFSImporterAction controller) { 26 24 super(MainApplication.getLayerManager().getEditDataSet()); 27 25 gtfsStopTM = controller.getGTFSStopTableModel(); 28 type = controller.getDialog().getStoptype();29 26 workingLines = new Vector<>(); 30 27 typesForUndo = new Vector<>(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/commands/TrackSuggestStopsCommand.java
r34718 r35219 10 10 import org.openstreetmap.josm.command.Command; 11 11 import org.openstreetmap.josm.data.coor.LatLon; 12 import org.openstreetmap.josm.data.gpx. GpxTrackSegment;12 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment; 13 13 import org.openstreetmap.josm.data.gpx.WayPoint; 14 14 import org.openstreetmap.josm.data.osm.Node; … … 35 35 private double threshold; 36 36 37 private Collection< GpxTrackSegment> segments = null;37 private Collection<IGpxTrackSegment> segments = null; 38 38 39 39 private Vector<Vector<Object>> tableDataModel = null; … … 76 76 77 77 Vector<WayPoint> wayPoints = new Vector<>(); 78 Iterator< GpxTrackSegment> siter = segments.iterator();78 Iterator<IGpxTrackSegment> siter = segments.iterator(); 79 79 while (siter.hasNext()) { 80 80 Iterator<WayPoint> witer = siter.next().getWayPoints().iterator(); -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/dialogs/AbstractImporterDialog.java
r34718 r35219 19 19 /** 20 20 * Abstract superclass of {@link GTFSImporterDialog} and {@link StopImporterDialog}. 21 * @param <T> type of action 21 22 */ 22 23 public abstract class AbstractImporterDialog<T extends JosmAction> { -
applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/refs/TrackReference.java
r34718 r35219 15 15 import org.openstreetmap.josm.data.coor.LatLon; 16 16 import org.openstreetmap.josm.data.gpx.GpxTrack; 17 import org.openstreetmap.josm.data.gpx. GpxTrackSegment;17 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment; 18 18 import org.openstreetmap.josm.data.gpx.WayPoint; 19 19 import org.openstreetmap.josm.data.osm.Node; … … 38 38 public double threshold; 39 39 40 private StopImporterAction controller = null;41 42 40 public boolean inEvent = false; 43 41 … … 48 46 this.gpsStartTime = null; 49 47 this.gpsSyncTime = null; 50 this.controller = controller;51 48 if (track != null) { 52 Iterator< GpxTrackSegment> siter = track.getSegments().iterator();49 Iterator<IGpxTrackSegment> siter = track.getSegments().iterator(); 53 50 while (siter.hasNext() && this.gpsSyncTime == null) { 54 51 Iterator<WayPoint> witer = siter.next().getWayPoints().iterator(); … … 131 128 double wayPointTime = 0; 132 129 double lastWayPointTime = 0; 133 Iterator< GpxTrackSegment> siter = track.getSegments().iterator();130 Iterator<IGpxTrackSegment> siter = track.getSegments().iterator(); 134 131 while (siter.hasNext()) { 135 132 Iterator<WayPoint> witer = siter.next().getWayPoints().iterator();
Note:
See TracChangeset
for help on using the changeset viewer.