Changeset 32287 in osm for applications/editors/josm/plugins/dataimport
- Timestamp:
- 2016-06-16T23:05:20+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/dataimport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dataimport/build.xml
r31926 r32287 4 4 <property name="commit.message" value="Changed constructor signature, updated build.xml"/> 5 5 <!-- 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"/> 7 7 <!-- 8 8 ************************************************ -
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/DataImportPlugin.java
r19430 r32287 7 7 8 8 import org.openstreetmap.josm.actions.ExtensionFileFilter; 9 import org.openstreetmap.josm.plugins.Plugin; 10 import org.openstreetmap.josm.plugins.PluginInformation; 9 11 import org.openstreetmap.josm.plugins.dataimport.io.TangoGPS; 10 12 import org.openstreetmap.josm.plugins.dataimport.io.Tcx; 11 import org.openstreetmap.josm.plugins.Plugin;12 import org.openstreetmap.josm.plugins.PluginInformation;13 13 14 /** 15 * Data import plugin. 16 */ 14 17 public class DataImportPlugin extends Plugin { 15 18 16 19 /** 17 20 * Add new File import filter into open dialog 21 * @param info plugin information 18 22 */ 19 23 public DataImportPlugin(PluginInformation info) throws IOException{ 20 24 super(info); 21 25 22 ExtensionFileFilter. importers.add(new TangoGPS());23 ExtensionFileFilter. importers.add(new Tcx());26 ExtensionFileFilter.addImporter(new TangoGPS()); 27 ExtensionFileFilter.addImporter(new Tcx()); 24 28 } 25 29 }
Note:
See TracChangeset
for help on using the changeset viewer.