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

update plugins to JOSM 10407

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

Legend:

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

    r31926 r32287  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7248"/>
     7    <property name="plugin.main.version" value="10407"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/poly/src/poly/PolyPlugin.java

    r28570 r32287  
    1313public class PolyPlugin extends Plugin {
    1414
     15    /**
     16     * Constructs a new {@code PolyPlugin}.
     17     * @param info plugin information
     18     */
    1519    public PolyPlugin(PluginInformation info) {
    1620        super(info);
    17         ExtensionFileFilter.importers.add(new PolyImporter());
    18         ExtensionFileFilter.exporters.add(new PolyExporter());
     21        ExtensionFileFilter.addImporter(new PolyImporter());
     22        ExtensionFileFilter.addExporter(new PolyExporter());
    1923        Main.main.menu.openLocation.addDownloadTaskClass(DownloadPolyTask.class);
    2024    }
Note: See TracChangeset for help on using the changeset viewer.