Changeset 33898 in osm for applications
- Timestamp:
- 2017-11-25T01:49:00+01:00 (7 years ago)
- 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 5 5 <property name="commit.message" value="[josm_tagging_preset_tester] #josm10288: fix NPE when starting without map"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 0876"/>7 <property name="plugin.main.version" value="12643"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTester.java
r32869 r33898 27 27 import org.openstreetmap.josm.data.osm.Relation; 28 28 import org.openstreetmap.josm.data.osm.Way; 29 import org.openstreetmap.josm.gui.MainApplication; 29 30 import org.openstreetmap.josm.gui.tagging.presets.TaggingPreset; 30 31 import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader; … … 53 54 return; 54 55 Collection<OsmPrimitive> x; 55 DataSet ds = Main .getLayerManager().getEditDataSet();56 DataSet ds = MainApplication.getLayerManager().getEditDataSet(); 56 57 if (ds != null) { 57 58 x = ds.getSelected(); -
applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTesterAction.java
r31615 r33898 11 11 import org.openstreetmap.josm.Main; 12 12 import org.openstreetmap.josm.actions.JosmAction; 13 import org.openstreetmap.josm.gui.MainApplication; 13 14 import org.openstreetmap.josm.gui.MainMenu; 14 15 import org.openstreetmap.josm.gui.tagging.presets.TaggingPresetReader; … … 28 29 tr("Tool: {0}", tr("Tagging Preset Tester")), 29 30 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); 31 32 } 32 33
Note:
See TracChangeset
for help on using the changeset viewer.