org.openstreetmap.josm.gui.preferences.map
Class MapPaintPreference.MapPaintPrefHelper
java.lang.Object
org.openstreetmap.josm.gui.preferences.SourceEditor.SourcePrefHelper
org.openstreetmap.josm.gui.preferences.map.MapPaintPreference.MapPaintPrefHelper
- Enclosing class:
- MapPaintPreference
public static class MapPaintPreference.MapPaintPrefHelper
- extends SourceEditor.SourcePrefHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final MapPaintPreference.MapPaintPrefHelper INSTANCE
MapPaintPreference.MapPaintPrefHelper
public MapPaintPreference.MapPaintPrefHelper()
get
public java.util.List<SourceEntry> get()
- Overrides:
get
in class SourceEditor.SourcePrefHelper
insertNewDefaults
private boolean insertNewDefaults(java.util.List<SourceEntry> list)
- If the selection of default styles changes in future releases, add
the new entries to the user-configured list. Remember the known URLs,
so an item that was deleted explicitly is not added again.
getDefault
public java.util.Collection<SourceEditor.ExtendedSourceEntry> getDefault()
- Specified by:
getDefault
in class SourceEditor.SourcePrefHelper
serialize
public java.util.Map<java.lang.String,java.lang.String> serialize(SourceEntry entry)
- Specified by:
serialize
in class SourceEditor.SourcePrefHelper
deserialize
public SourceEntry deserialize(java.util.Map<java.lang.String,java.lang.String> s)
- Specified by:
deserialize
in class SourceEditor.SourcePrefHelper
migrate
public java.util.Map<java.lang.String,java.lang.String> migrate(java.util.Collection<java.lang.String> old)
- Specified by:
migrate
in class SourceEditor.SourcePrefHelper
JOSM