Changeset 3639 in osm for applications/editors/josm/plugins/validator/src
- Timestamp:
- 2007-07-20T17:22:15+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java
r3622 r3639 16 16 import org.openstreetmap.josm.command.*; 17 17 import org.openstreetmap.josm.data.osm.*; 18 import org.openstreetmap.josm.gui. annotation.AnnotationPreset;19 import org.openstreetmap.josm.gui. annotation.AnnotationPreset.*;20 import org.openstreetmap.josm.gui.preferences. AnnotationPresetPreference;18 import org.openstreetmap.josm.gui.tagging.TaggingPreset; 19 import org.openstreetmap.josm.gui.tagging.TaggingPreset.*; 20 import org.openstreetmap.josm.gui.preferences.TaggingPresetPreference; 21 21 import org.openstreetmap.josm.plugins.validator.*; 22 22 import org.openstreetmap.josm.plugins.validator.util.Bag; … … 191 191 return; 192 192 193 Collection< AnnotationPreset> presets = AnnotationPresetPreference.annotationPresets;193 Collection<TaggingPreset> presets = TaggingPresetPreference.taggingPresets; 194 194 if( presets == null || presets.isEmpty() ) 195 195 { … … 287 287 288 288 XmlObjectParser parser = new XmlObjectParser(); 289 parser.mapOnStart("item", AnnotationPreset.class);289 parser.mapOnStart("item", TaggingPreset.class); 290 290 parser.map("text", Text.class); 291 291 parser.map("check", Check.class); … … 307 307 308 308 /** 309 * Reads the annotationspresets309 * Reads the tagging presets 310 310 */ 311 311 public static void readPresetFromPreferences() 312 312 { 313 String allAnnotations = Main.pref.get(" annotation.sources");313 String allAnnotations = Main.pref.get("taggingpreset.sources"); 314 314 StringTokenizer st = new StringTokenizer(allAnnotations, ";"); 315 315 while (st.hasMoreTokens())
Note:
See TracChangeset
for help on using the changeset viewer.