- Timestamp:
- 2020-10-21T23:12:51+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r17245 r17248 238 238 239 239 /** 240 * SWEREF99 13 30 projection. Based on data from spatialreference.org. 241 * http://spatialreference.org/ref/epsg/3008/ 242 * 243 * @author Hanno Hecker 244 */ 240 * SWEREF99 projections. Official coordinate system in Sweden. 241 */ 242 registerProjectionChoice(tr("SWEREF99 TM / EPSG:3006 (Sweden)"), "core:sweref99tm", 3006); // SE 245 243 registerProjectionChoice(tr("SWEREF99 13 30 / EPSG:3008 (Sweden)"), "core:sweref99", 3008); // SE 246 244 … … 256 254 } 257 255 256 /** 257 * Registers a new projection choice. 258 * @param c projection choice 259 */ 258 260 public static void registerProjectionChoice(ProjectionChoice c) { 259 261 projectionChoices.add(c); … … 286 288 } 287 289 290 /** 291 * Returns the list of projection choices. 292 * @return the list of projection choices 293 */ 288 294 public static List<ProjectionChoice> getProjectionChoices() { 289 295 return Collections.unmodifiableList(projectionChoices); … … 342 348 private static final GBC projSubPrefPanelGBC = GBC.std().fill(GBC.BOTH).weight(1.0, 1.0); 343 349 350 /** 351 * Constructs a new {@code ProjectionPreference}. 352 */ 344 353 public ProjectionPreference() { 345 354 super(/* ICON(preferences/) */ "map", tr("Map Projection"), tr("Map Projection")); … … 450 459 } 451 460 461 /** 462 * Set default projection. 463 */ 452 464 public static void setProjection() { 453 465 setProjection(PROP_PROJECTION_DEFAULT.get(), PROP_SUB_PROJECTION_DEFAULT.get(), false);
Note:
See TracChangeset
for help on using the changeset viewer.