Ignore:
Timestamp:
04.12.2011 20:00:58 (6 months ago)
Author:
bastiK
Message:

status report should use new xml preference file (see #7027)

File:
1 edited

Legend:

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

    r4634 r4635  
    6161 * saved upon set-access. 
    6262 * 
    63  * Each property is a simple key=value pair of Strings. 
     63 * Each property is a key=setting pair, where key is a String and setting can be one of 
     64 * 4 types: 
     65 *     string, list, list of lists and list of maps. 
    6466 * In addition, each key has a unique default value that is set when the value is first 
    6567 * accessed using one of the get...() methods. You can use the same preference 
     
    6971 * off all possible settings. 
    7072 * 
    71  * At the moment, there is no such thing as an empty value. 
    72  * If you put "" or null as value, the property is removed. 
     73 * At the moment, you cannot put the empty string for string properties. 
     74 * put(key, "") means, the property is removed. 
    7375 * 
    7476 * @author imi 
     
    8385 
    8486    /** 
    85      * Map the property name to the property object. Does not contain null or "" values. 
     87     * Map the property name to strings. Does not contain null or "" values. 
    8688     */ 
    8789    protected final SortedMap<String, String> properties = new TreeMap<String, String>(); 
     90    /** Map of defaults, can contain null values */ 
    8891    protected final SortedMap<String, String> defaults = new TreeMap<String, String>(); 
    8992    protected final SortedMap<String, String> colornames = new TreeMap<String, String>(); 
    9093 
     94    /** Mapping for list settings. Must not conatin null values */ 
    9195    protected final SortedMap<String, List<String>> collectionProperties = new TreeMap<String, List<String>>(); 
     96    /** Defaults, can contain null values */ 
    9297    protected final SortedMap<String, List<String>> collectionDefaults = new TreeMap<String, List<String>>(); 
    9398 
Note: See TracChangeset for help on using the changeset viewer.