Changeset 6295 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/CustomProjectionChoice.java
- Timestamp:
- 2013-10-04T01:20:31+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/CustomProjectionChoice.java
r6070 r6295 42 42 private String pref; 43 43 44 /** 45 * Constructs a new {@code CustomProjectionChoice}. 46 */ 44 47 public CustomProjectionChoice() { 45 48 super(tr("Custom Projection"), "core:custom"); … … 156 159 public static class ParameterInfoDialog extends ExtendedDialog { 157 160 161 /** 162 * Constructs a new {@code ParameterInfoDialog}. 163 */ 158 164 public ParameterInfoDialog() { 159 165 super(null, tr("Parameter information"), new String[] { tr("Close") }, false); … … 225 231 @Override 226 232 public Collection<String> getPreferences(JPanel panel) { 233 if (!(panel instanceof PreferencePanel)) { 234 throw new IllegalArgumentException(); 235 } 227 236 PreferencePanel prefPanel = (PreferencePanel) panel; 228 237 String pref = prefPanel.input.getText();
Note:
See TracChangeset
for help on using the changeset viewer.