Ignore:
Timestamp:
2016-06-16T23:05:20+02:00 (9 years ago)
Author:
donvip
Message:

update plugins to JOSM 10407

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

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/dataimport/build.xml

    r31926 r32287  
    44    <property name="commit.message" value="Changed constructor signature, updated build.xml"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="7001"/>
     6    <property name="plugin.main.version" value="10407"/>
    77    <!--
    88      ************************************************
  • applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/DataImportPlugin.java

    r19430 r32287  
    77
    88import org.openstreetmap.josm.actions.ExtensionFileFilter;
     9import org.openstreetmap.josm.plugins.Plugin;
     10import org.openstreetmap.josm.plugins.PluginInformation;
    911import org.openstreetmap.josm.plugins.dataimport.io.TangoGPS;
    1012import org.openstreetmap.josm.plugins.dataimport.io.Tcx;
    11 import org.openstreetmap.josm.plugins.Plugin;
    12 import org.openstreetmap.josm.plugins.PluginInformation;
    1313
     14/**
     15 * Data import plugin.
     16 */
    1417public class DataImportPlugin extends Plugin {
    1518
    1619    /**
    1720     * Add new File import filter into open dialog
     21     * @param info plugin information
    1822     */
    1923    public DataImportPlugin(PluginInformation info) throws IOException{
    2024        super(info);
    2125
    22         ExtensionFileFilter.importers.add(new TangoGPS());
    23         ExtensionFileFilter.importers.add(new Tcx());
     26        ExtensionFileFilter.addImporter(new TangoGPS());
     27        ExtensionFileFilter.addImporter(new Tcx());
    2428    }
    2529}
Note: See TracChangeset for help on using the changeset viewer.