Changeset 3739 in osm for applications/editors


Ignore:
Timestamp:
2007-07-26T10:21:46+02:00 (17 years ago)
Author:
christofd
Message:

renamed to taggingpresetaction

File:
1 copied

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/TaggingPresetAction.java

    r3348 r3739  
    99
    1010import org.openstreetmap.josm.data.coor.LatLon;
    11 import org.openstreetmap.josm.gui.annotation.AnnotationPreset;
    12 import org.openstreetmap.josm.gui.preferences.AnnotationPresetPreference;
     11import org.openstreetmap.josm.gui.preferences.TaggingPresetPreference;
     12import org.openstreetmap.josm.gui.tagging.TaggingPreset;
    1313
    1414import at.dallermassl.josm.plugin.surveyor.GpsActionEvent;
     
    1919 *
    2020 */
    21 public class AnnotationPresetAction implements SurveyorAction {
     21public class TaggingPresetAction implements SurveyorAction {
    2222    private String presetName;
    23     private AnnotationPreset preset;
     23    private TaggingPreset preset;
    2424   
    2525
     
    7070     * @return  the preset with the given name.
    7171     */
    72     protected AnnotationPreset getAnnotationPreset(String name) {
    73         for(AnnotationPreset preset : AnnotationPresetPreference.annotationPresets) {
     72    protected TaggingPreset getAnnotationPreset(String name) {
     73        for(TaggingPreset preset : TaggingPresetPreference.taggingPresets) {
    7474            if(name.equals(preset.getValue(Action.NAME))) {
    7575                return preset;
Note: See TracChangeset for help on using the changeset viewer.