Ignore:
Timestamp:
2017-09-21T12:41:32+02:00 (2 years ago)
Author:
bastiK
Message:

see #15229 - move remaining classes to spi.preferences package, to make it self-contained

  • extract event listener classes from Preferences (duplicated, for smooth transition)
  • move *Setting classes
Location:
trunk/src/org/openstreetmap/josm/data/preferences
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java

    r12207 r12881  
    44import org.openstreetmap.josm.Main;
    55import org.openstreetmap.josm.data.Preferences;
    6 import org.openstreetmap.josm.data.Preferences.PreferenceChangeEvent;
    7 import org.openstreetmap.josm.data.Preferences.PreferenceChangedListener;
     6import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent;
     7import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener;
    88import org.openstreetmap.josm.tools.ListenableWeakReference;
    99import org.openstreetmap.josm.tools.bugreport.BugReport;
  • trunk/src/org/openstreetmap/josm/data/preferences/AbstractToStringProperty.java

    r12620 r12881  
    22package org.openstreetmap.josm.data.preferences;
    33
    4 import org.openstreetmap.josm.data.Preferences.PreferenceChangedListener;
     4import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener;
    55import org.openstreetmap.josm.tools.CheckParameterUtil;
    66import org.openstreetmap.josm.tools.Logging;
  • trunk/src/org/openstreetmap/josm/data/preferences/CachedProperty.java

    r12867 r12881  
    22package org.openstreetmap.josm.data.preferences;
    33
    4 import org.openstreetmap.josm.data.Preferences.PreferenceChangeEvent;
    5 import org.openstreetmap.josm.data.Preferences.PreferenceChangedListener;
     4import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent;
     5import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener;
    66import org.openstreetmap.josm.spi.preferences.Config;
    77
  • trunk/src/org/openstreetmap/josm/data/preferences/PreferencesReader.java

    r12620 r12881  
    3232import org.openstreetmap.josm.io.CachedFile;
    3333import org.openstreetmap.josm.io.XmlStreamParsingException;
     34import org.openstreetmap.josm.spi.preferences.Setting;
     35import org.openstreetmap.josm.spi.preferences.ListListSetting;
     36import org.openstreetmap.josm.spi.preferences.ListSetting;
     37import org.openstreetmap.josm.spi.preferences.MapListSetting;
     38import org.openstreetmap.josm.spi.preferences.StringSetting;
    3439import org.openstreetmap.josm.tools.Logging;
    3540import org.xml.sax.SAXException;
  • trunk/src/org/openstreetmap/josm/data/preferences/PreferencesWriter.java

    r11746 r12881  
    1212import org.openstreetmap.josm.data.Version;
    1313import org.openstreetmap.josm.io.XmlWriter;
     14import org.openstreetmap.josm.spi.preferences.Setting;
     15import org.openstreetmap.josm.spi.preferences.ListListSetting;
     16import org.openstreetmap.josm.spi.preferences.SettingVisitor;
     17import org.openstreetmap.josm.spi.preferences.ListSetting;
     18import org.openstreetmap.josm.spi.preferences.MapListSetting;
     19import org.openstreetmap.josm.spi.preferences.StringSetting;
    1420
    1521/**
Note: See TracChangeset for help on using the changeset viewer.