Ignore:
Timestamp:
2010-01-13T20:24:04+01:00 (15 years ago)
Author:
jttt
Message:

Adapt to josm r2851

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  
    2424import org.openstreetmap.josm.gui.layer.GpxLayer;
    2525import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
     26import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    2627import org.openstreetmap.josm.io.FileImporter;
    2728
     
    4344         */
    4445        @Override
    45         public void importData(File file) throws IOException {
     46        public void importData(File file, ProgressMonitor progressMonitor) throws IOException {
    4647                // create the data tree
    4748                GpxData data = new GpxData();
     
    9293                        showInfobox(imported,failure);
    9394                } finally {
    94                         if (rd != null)
     95                        if (rd != null) {
    9596                                rd.close();
     97                        }
    9698                }
    9799        }
  • applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/Tcx.java

    r18063 r19503  
    2323import org.openstreetmap.josm.gui.layer.GpxLayer;
    2424import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
     25import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    2526import org.openstreetmap.josm.io.FileImporter;
    2627import org.openstreetmap.josm.plugins.dataimport.io.tcx.ActivityLapT;
     
    7172     */
    7273    @Override
    73     public void importData(File tcxFile) throws IOException {
     74    public void importData(File tcxFile, ProgressMonitor progressMonitor) throws IOException {
    7475        //this.tcxFile = tcxFile;
    7576        parseFile(tcxFile);
Note: See TracChangeset for help on using the changeset viewer.