Ignore:
Timestamp:
2014-04-22T01:06:55+02:00 (10 years ago)
Author:
Don-vip
Message:

cleanup/refactor of NavigatableComponent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java

    r6920 r6992  
    2424import org.openstreetmap.josm.Main;
    2525import org.openstreetmap.josm.data.Bounds;
     26import org.openstreetmap.josm.data.SystemOfMeasurement;
    2627import org.openstreetmap.josm.data.coor.CoordinateFormat;
    2728import org.openstreetmap.josm.data.preferences.CollectionProperty;
     
    246247    private static final CollectionProperty PROP_SUB_PROJECTION = new CollectionProperty("projection.sub", null);
    247248    public static final StringProperty PROP_SYSTEM_OF_MEASUREMENT = new StringProperty("system_of_measurement", "Metric");
    248     private static final String[] unitsValues = (new ArrayList<String>(NavigatableComponent.SYSTEMS_OF_MEASUREMENT.keySet())).toArray(new String[0]);
     249    private static final String[] unitsValues = (new ArrayList<String>(SystemOfMeasurement.ALL_SYSTEMS.keySet())).toArray(new String[0]);
    249250    private static final String[] unitsValuesTr = new String[unitsValues.length];
    250251    static {
Note: See TracChangeset for help on using the changeset viewer.