Changeset 6733 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/SingleProjectionChoice.java
- Timestamp:
- 2014-01-19T15:33:15+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/SingleProjectionChoice.java
r5548 r6733 18 18 19 19 /** 20 * Construct or.20 * Constructs a new {@code SingleProjectionChoice}. 21 21 * 22 22 * @param name short name of the projection choice as shown in the GUI … … 30 30 } 31 31 32 /** 33 * Constructs a new {@code SingleProjectionChoice}. 34 * 35 * @param name short name of the projection choice as shown in the GUI 36 * @param id unique identifier for the projection choice, e.g. "core:thisproj" 37 * @param code the unique identifier for the projection, e.g. "EPSG:1234" 38 */ 32 39 public SingleProjectionChoice(String name, String id, String code) { 33 40 super(name, id); … … 55 62 56 63 @Override 57 public String toString() {58 return name;59 }60 61 @Override62 64 public Collection<String> getPreferencesFromCode(String code) { 63 65 if (code.equals(this.code))
Note:
See TracChangeset
for help on using the changeset viewer.