- Timestamp:
- 2018-08-12T14:58:00+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/INode.java
r14120 r14146 2 2 package org.openstreetmap.josm.data.osm; 3 3 4 import org.openstreetmap.josm.Main;5 4 import org.openstreetmap.josm.data.coor.EastNorth; 6 5 import org.openstreetmap.josm.data.coor.ILatLon; … … 29 28 * Replies the projected east/north coordinates. 30 29 * <p> 31 * Uses the {@link Main#getProjection() global projection} to project the lat/lon-coordinates.30 * Uses the {@link ProjectionRegistry#getProjection() global projection} to project the lat/lon-coordinates. 32 31 * <p> 33 32 * @return the east north coordinates or {@code null} if {@link #isLatLonKnown()} is false. -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java
r13493 r14146 14 14 import java.util.Set; 15 15 16 import org.openstreetmap.josm.Main;17 16 import org.openstreetmap.josm.data.coor.EastNorth; 18 17 import org.openstreetmap.josm.data.osm.DataSet; … … 26 25 import org.openstreetmap.josm.data.osm.visitor.paint.relations.Multipolygon.PolyData.Intersection; 27 26 import org.openstreetmap.josm.data.projection.Projection; 27 import org.openstreetmap.josm.data.projection.ProjectionRegistry; 28 28 import org.openstreetmap.josm.spi.preferences.Config; 29 29 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent; … … 484 484 * Calculate area and perimeter length in the given projection. 485 485 * 486 * @param projection the projection to use for the calculation, {@code null} defaults to {@link Main#getProjection()}486 * @param projection the projection to use for the calculation, {@code null} defaults to {@link ProjectionRegistry#getProjection()} 487 487 * @return area and perimeter 488 488 */ -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r14143 r14146 548 548 * @param reason the reason for exiting 549 549 * @return {@code true} if JOSM has been closed, {@code false} if the user has cancelled the operation. 550 * @since 12636 (specialized version of {@link Main#exitJosm})550 * @since 12636 (specialized version of {@link Lifecycle#exitJosm}) 551 551 */ 552 552 public static boolean exitJosm(boolean exit, int exitCode, SaveLayersDialog.Reason reason) { -
trunk/src/org/openstreetmap/josm/gui/download/UserQueryList.java
r12880 r14146 42 42 import javax.swing.text.JTextComponent; 43 43 44 import org.openstreetmap.josm.Main;45 44 import org.openstreetmap.josm.gui.ExtendedDialog; 46 45 import org.openstreetmap.josm.gui.util.GuiHelper; … … 245 244 246 245 /** 247 * Saves all elements from the list to {@link Main#pref}.246 * Saves all elements from the list to {@link Config#getPref}. 248 247 */ 249 248 private void savePreferences() { … … 262 261 263 262 /** 264 * Loads the user saved items from {@link Main#pref}.263 * Loads the user saved items from {@link Config#getPref}. 265 264 * @return A set of the user saved items. 266 265 */ -
trunk/src/org/openstreetmap/josm/tools/OpenBrowser.java
r14138 r14146 8 8 import java.net.URI; 9 9 import java.net.URISyntaxException; 10 11 import org.openstreetmap.josm.Main;12 10 13 11 /** … … 36 34 * @return <code>null</code> for success or a string in case of an error. 37 35 * @throws IllegalStateException if no platform is set to which opening the URL can be dispatched, 38 * {@link Main#platform}36 * {@link PlatformManager#getPlatform} 39 37 */ 40 38 public static String displayUrl(URI uri) { … … 85 83 * @return <code>null</code> for success or a string in case of an error. 86 84 * @throws IllegalStateException if no platform is set to which opening the URL can be dispatched, 87 * {@link Main#platform}85 * {@link PlatformManager#getPlatform} 88 86 */ 89 87 public static String displayUrl(String url) {
Note:
See TracChangeset
for help on using the changeset viewer.