Changeset 32134 in osm for applications/editors/josm/plugins/indoorhelper
- Timestamp:
- 2016-03-30T00:10:58+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/indoorhelper
- Files:
-
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/indoorhelper/.project
r32122 r32134 12 12 </arguments> 13 13 </buildCommand> 14 <buildCommand> 15 <name>org.sonarlint.eclipse.core.sonarlintBuilder</name> 16 <arguments> 17 </arguments> 18 </buildCommand> 14 19 </buildSpec> 15 20 <natures> -
applications/editors/josm/plugins/indoorhelper/build.xml
r32122 r32134 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="indoorhelper" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="Inital commit"/> 18 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 19 <property name="plugin.main.version" value=" 7001"/>7 <property name="plugin.main.version" value="9759"/> 20 8 21 9 <!-- Configure these properties (replace "..." accordingly). 22 23 24 25 10 See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins 26 11 --> … … 40 25 <!-- ** include targets that all plugins have in common ** --> 41 26 <import file="../build-common.xml"/> 42 43 27 </project> -
applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java
r32122 r32134 35 35 import org.openstreetmap.josm.Main; 36 36 import org.openstreetmap.josm.actions.ValidateAction; 37 import org.openstreetmap.josm.data. Preferences.MapListSetting;38 import org.openstreetmap.josm.data. Preferences.Setting;37 import org.openstreetmap.josm.data.preferences.MapListSetting; 38 import org.openstreetmap.josm.data.preferences.Setting; 39 39 import org.openstreetmap.josm.data.osm.Tag; 40 40 import org.openstreetmap.josm.data.validation.OsmValidator; … … 527 527 */ 528 528 private void updateSettings(){ 529 try { 530 Main.pref.load(); 531 Main.pref.init(false); 532 } catch (IOException e) { 533 // TODO Auto-generated catch block 534 e.printStackTrace(); 535 } catch (SAXException e) { 536 // TODO Auto-generated catch block 537 e.printStackTrace(); 538 } catch (XMLStreamException e) { 539 // TODO Auto-generated catch block 540 e.printStackTrace(); 541 } 542 529 Main.pref.init(false); 543 530 MapCSSTagChecker tagChecker = OsmValidator.getTest(MapCSSTagChecker.class); 544 if (tagChecker != null) {545 OsmValidator.initializeTests(Collections.singleton(tagChecker));546 }547 548 MapPaintStyles.readFromPreferences();531 if (tagChecker != null) { 532 OsmValidator.initializeTests(Collections.singleton(tagChecker)); 533 } 534 535 MapPaintStyles.readFromPreferences(); 549 536 } 550 537 }
Note:
See TracChangeset
for help on using the changeset viewer.