Changeset 33898 in osm for applications/editors


Ignore:
Timestamp:
2017-11-25T01:49:00+01:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 12643

Location:
applications/editors/josm/plugins/tagging-preset-tester
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tagging-preset-tester/build.xml

    r32869 r33898  
    55    <property name="commit.message" value="[josm_tagging_preset_tester] #josm10288: fix NPE when starting without map"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="10876"/>
     7    <property name="plugin.main.version" value="12643"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTester.java

    r32869 r33898  
    2727import org.openstreetmap.josm.data.osm.Relation;
    2828import org.openstreetmap.josm.data.osm.Way;
     29import org.openstreetmap.josm.gui.MainApplication;
    2930import org.openstreetmap.josm.gui.tagging.presets.TaggingPreset;
    3031import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader;
     
    5354            return;
    5455        Collection<OsmPrimitive> x;
    55         DataSet ds = Main.getLayerManager().getEditDataSet();
     56        DataSet ds = MainApplication.getLayerManager().getEditDataSet();
    5657        if (ds != null) {
    5758            x = ds.getSelected();
  • applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTesterAction.java

    r31615 r33898  
    1111import org.openstreetmap.josm.Main;
    1212import org.openstreetmap.josm.actions.JosmAction;
     13import org.openstreetmap.josm.gui.MainApplication;
    1314import org.openstreetmap.josm.gui.MainMenu;
    1415import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader;
     
    2829        tr("Tool: {0}", tr("Tagging Preset Tester")),
    2930        KeyEvent.VK_T, Shortcut.ALT_CTRL_SHIFT), true);
    30         MainMenu.addAfter(Main.main.menu.windowMenu, this, false, Main.main.menu.changesetManager);
     31        MainMenu.addAfter(MainApplication.getMenu().windowMenu, this, false, MainApplication.getMenu().changesetManager);
    3132    }
    3233
Note: See TracChangeset for help on using the changeset viewer.