Changeset 19503 in osm


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

Adapt to josm r2851

Location:
applications/editors/josm/plugins/dataimport
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/dataimport/.classpath

    r16382 r19503  
    66        <classpathentry exported="true" kind="lib" path="lib/jaxb-impl.jar"/>
    77        <classpathentry exported="true" kind="lib" path="lib/jaxb-api.jar"/>
    8         <classpathentry exported="true" kind="lib" path="lib/activation.jar"/>
    98        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    109        <classpathentry kind="output" path="bin"/>
  • applications/editors/josm/plugins/dataimport/build.xml

    r19430 r19503  
    3232        <property name="commit.message" value="Changed constructor signature, updated build.xml" />
    3333        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34         <property name="plugin.main.version" value="2830" />
     34        <property name="plugin.main.version" value="2851" />
    3535
    3636        <!--
  • 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.