Changeset 3739 in osm for applications/editors/josm
- Timestamp:
- 2007-07-26T10:21:46+02:00 (17 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/TaggingPresetAction.java
r3348 r3739 9 9 10 10 import org.openstreetmap.josm.data.coor.LatLon; 11 import org.openstreetmap.josm.gui. annotation.AnnotationPreset;12 import org.openstreetmap.josm.gui. preferences.AnnotationPresetPreference;11 import org.openstreetmap.josm.gui.preferences.TaggingPresetPreference; 12 import org.openstreetmap.josm.gui.tagging.TaggingPreset; 13 13 14 14 import at.dallermassl.josm.plugin.surveyor.GpsActionEvent; … … 19 19 * 20 20 */ 21 public class AnnotationPresetAction implements SurveyorAction {21 public class TaggingPresetAction implements SurveyorAction { 22 22 private String presetName; 23 private AnnotationPreset preset;23 private TaggingPreset preset; 24 24 25 25 … … 70 70 * @return the preset with the given name. 71 71 */ 72 protected AnnotationPreset getAnnotationPreset(String name) {73 for( AnnotationPreset preset : AnnotationPresetPreference.annotationPresets) {72 protected TaggingPreset getAnnotationPreset(String name) { 73 for(TaggingPreset preset : TaggingPresetPreference.taggingPresets) { 74 74 if(name.equals(preset.getValue(Action.NAME))) { 75 75 return preset;
Note:
See TracChangeset
for help on using the changeset viewer.