Changeset 19503 in osm for applications/editors/josm/plugins/dataimport/src/org
- Timestamp:
- 2010-01-13T20:24:04+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/TangoGPS.java
r18063 r19503 24 24 import org.openstreetmap.josm.gui.layer.GpxLayer; 25 25 import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer; 26 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 26 27 import org.openstreetmap.josm.io.FileImporter; 27 28 … … 43 44 */ 44 45 @Override 45 public void importData(File file) throws IOException { 46 public void importData(File file, ProgressMonitor progressMonitor) throws IOException { 46 47 // create the data tree 47 48 GpxData data = new GpxData(); … … 92 93 showInfobox(imported,failure); 93 94 } finally { 94 if (rd != null) 95 if (rd != null) { 95 96 rd.close(); 97 } 96 98 } 97 99 } -
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/Tcx.java
r18063 r19503 23 23 import org.openstreetmap.josm.gui.layer.GpxLayer; 24 24 import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer; 25 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 25 26 import org.openstreetmap.josm.io.FileImporter; 26 27 import org.openstreetmap.josm.plugins.dataimport.io.tcx.ActivityLapT; … … 71 72 */ 72 73 @Override 73 public void importData(File tcxFile) throws IOException { 74 public void importData(File tcxFile, ProgressMonitor progressMonitor) throws IOException { 74 75 //this.tcxFile = tcxFile; 75 76 parseFile(tcxFile);
Note:
See TracChangeset
for help on using the changeset viewer.