Ignore:
Timestamp:
2016-06-16T23:24:44+02:00 (8 years ago)
Author:
donvip
Message:

update plugin to JOSM 10407

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/PbfPlugin.java

    r30659 r32290  
    1111
    1212/**
    13  *
     13 * PBF plugin.
    1414 * @author Don-vip
    15  *
    1615 */
    1716public class PbfPlugin extends Plugin {
    1817
     18    /**
     19     * Constructs a new {@code PbfPlugin}.
     20     * @param info plugin information
     21     */
    1922    public PbfPlugin(PluginInformation info) {
    2023        super(info);
    2124        // Allow JOSM to import *.osm.pbf files
    22         ExtensionFileFilter.importers.add(new PbfImporter());
     25        ExtensionFileFilter.addImporter(new PbfImporter());
    2326        // Allow JOSM to export *.osm.pbf files
    24         ExtensionFileFilter.exporters.add(new PbfExporter());
     27        ExtensionFileFilter.addExporter(new PbfExporter());
    2528        // Allow JOSM to download remote *.osm.pbf files
    2629        Main.main.menu.openLocation.addDownloadTaskClass(DownloadPbfTask.class);
Note: See TracChangeset for help on using the changeset viewer.