Changeset 6889 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
- Timestamp:
- 2014-02-27T01:41:49+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r6529 r6889 253 253 * Combobox with all projections available 254 254 */ 255 private JosmComboBox projectionCombo = new JosmComboBox(projectionChoices.toArray());255 private final JosmComboBox projectionCombo = new JosmComboBox(projectionChoices.toArray()); 256 256 257 257 /** 258 258 * Combobox with all coordinate display possibilities 259 259 */ 260 private JosmComboBox coordinatesCombo = new JosmComboBox(CoordinateFormat.values());261 262 private JosmComboBox unitsCombo = new JosmComboBox(unitsValuesTr);260 private final JosmComboBox coordinatesCombo = new JosmComboBox(CoordinateFormat.values()); 261 262 private final JosmComboBox unitsCombo = new JosmComboBox(unitsValuesTr); 263 263 264 264 /** … … 281 281 * This is the panel holding all projection preferences 282 282 */ 283 private JPanel projPanel = new JPanel(new GridBagLayout());283 private final JPanel projPanel = new JPanel(new GridBagLayout()); 284 284 285 285 /** … … 288 288 * in sync 289 289 */ 290 static privateGBC projSubPrefPanelGBC = GBC.std().fill(GBC.BOTH).weight(1.0, 1.0);290 private static final GBC projSubPrefPanelGBC = GBC.std().fill(GBC.BOTH).weight(1.0, 1.0); 291 291 292 292 @Override … … 380 380 } 381 381 382 static public void setProjection() {382 public static void setProjection() { 383 383 setProjection(PROP_PROJECTION.get(), PROP_SUB_PROJECTION.get()); 384 384 } 385 385 386 static public void setProjection(String id, Collection<String> pref) {386 public static void setProjection(String id, Collection<String> pref) { 387 387 ProjectionChoice pc = projectionChoicesById.get(id); 388 388
Note:
See TracChangeset
for help on using the changeset viewer.