Changeset 32290 in osm for applications/editors/josm/plugins
- Timestamp:
- 2016-06-16T23:24:44+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/pbf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pbf/build.xml
r31923 r32290 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value=" 7575"/>5 <property name="plugin.main.version" value="10407"/> 6 6 7 7 <property name="plugin.author" value="Don-vip"/> -
applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/PbfPlugin.java
r30659 r32290 11 11 12 12 /** 13 * 13 * PBF plugin. 14 14 * @author Don-vip 15 *16 15 */ 17 16 public class PbfPlugin extends Plugin { 18 17 18 /** 19 * Constructs a new {@code PbfPlugin}. 20 * @param info plugin information 21 */ 19 22 public PbfPlugin(PluginInformation info) { 20 23 super(info); 21 24 // Allow JOSM to import *.osm.pbf files 22 ExtensionFileFilter. importers.add(new PbfImporter());25 ExtensionFileFilter.addImporter(new PbfImporter()); 23 26 // Allow JOSM to export *.osm.pbf files 24 ExtensionFileFilter. exporters.add(new PbfExporter());27 ExtensionFileFilter.addExporter(new PbfExporter()); 25 28 // Allow JOSM to download remote *.osm.pbf files 26 29 Main.main.menu.openLocation.addDownloadTaskClass(DownloadPbfTask.class);
Note:
See TracChangeset
for help on using the changeset viewer.