Changeset 6992 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
- Timestamp:
- 2014-04-22T01:06:55+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r6920 r6992 24 24 import org.openstreetmap.josm.Main; 25 25 import org.openstreetmap.josm.data.Bounds; 26 import org.openstreetmap.josm.data.SystemOfMeasurement; 26 27 import org.openstreetmap.josm.data.coor.CoordinateFormat; 27 28 import org.openstreetmap.josm.data.preferences.CollectionProperty; … … 246 247 private static final CollectionProperty PROP_SUB_PROJECTION = new CollectionProperty("projection.sub", null); 247 248 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]); 249 250 private static final String[] unitsValuesTr = new String[unitsValues.length]; 250 251 static {
Note:
See TracChangeset
for help on using the changeset viewer.