Changeset 32290 in osm for applications/editors/josm/plugins/pbf/src/org
- Timestamp:
- 2016-06-16T23:24:44+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.