Changeset 12847 in josm for trunk/src/org


Ignore:
Timestamp:
2017-09-13T23:30:25+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - move new classes to spi package

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited
2 moved

Legend:

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

    r12843 r12847  
    5656
    5757import org.openstreetmap.josm.Main;
    58 import org.openstreetmap.josm.data.preferences.AbstractPreferences;
     58import org.openstreetmap.josm.spi.preferences.AbstractPreferences;
    5959import org.openstreetmap.josm.data.preferences.BooleanProperty;
    6060import org.openstreetmap.josm.data.preferences.ColorProperty;
    6161import org.openstreetmap.josm.data.preferences.DoubleProperty;
    62 import org.openstreetmap.josm.data.preferences.IPreferences;
     62import org.openstreetmap.josm.spi.preferences.IPreferences;
    6363import org.openstreetmap.josm.data.preferences.IntegerProperty;
    6464import org.openstreetmap.josm.data.preferences.ListListSetting;
  • trunk/src/org/openstreetmap/josm/spi/preferences/AbstractPreferences.java

    r12846 r12847  
    11// License: GPL. For details, see LICENSE file.
    2 package org.openstreetmap.josm.data.preferences;
     2package org.openstreetmap.josm.spi.preferences;
    33
    44import java.util.List;
    55import java.util.Map;
    66
     7import org.openstreetmap.josm.data.preferences.ListListSetting;
     8import org.openstreetmap.josm.data.preferences.ListSetting;
     9import org.openstreetmap.josm.data.preferences.MapListSetting;
     10import org.openstreetmap.josm.data.preferences.Setting;
     11import org.openstreetmap.josm.data.preferences.StringSetting;
    712import org.openstreetmap.josm.tools.Logging;
    813
    914/**
    1015 * Abstract implementation of the {@link IPreferences} interface.
    11  * @since 12840
     16 * @since 12847
    1217 */
    1318public abstract class AbstractPreferences implements IPreferences {
  • trunk/src/org/openstreetmap/josm/spi/preferences/Config.java

    r12845 r12847  
    44import java.util.Objects;
    55
    6 import org.openstreetmap.josm.data.preferences.IPreferences;
    7 
    86/**
    97 * Class to hold the global preferences object.
     8 * @since 12847
    109 */
    1110public class Config {
     
    1615     * Get the preferences.
    1716     * @return the preferences
     17     * @since 12847
    1818     */
    1919    public static IPreferences getPref() {
  • trunk/src/org/openstreetmap/josm/spi/preferences/IPreferences.java

    r12846 r12847  
    11// License: GPL. For details, see LICENSE file.
    2 package org.openstreetmap.josm.data.preferences;
     2package org.openstreetmap.josm.spi.preferences;
    33
    44import java.util.Collections;
     
    1313 * Allows to save and retrieve user defined settings. The backend storage depends
    1414 * on the implementation.
    15  * @since 12840
     15 * @since 12847
    1616 */
    1717public interface IPreferences {
Note: See TracChangeset for help on using the changeset viewer.