Changeset 12630 in josm for trunk/src/org/openstreetmap/josm/Main.java
- Timestamp:
- 2017-08-24T00:15:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r12629 r12630 60 60 import org.openstreetmap.josm.data.projection.Projection; 61 61 import org.openstreetmap.josm.data.projection.ProjectionChangeListener; 62 import org.openstreetmap.josm.gui.MainApplication; 62 63 import org.openstreetmap.josm.gui.MainMenu; 63 64 import org.openstreetmap.josm.gui.MainPanel; … … 119 120 * 120 121 * @return <code>true</code> if JOSM currently displays a map view 121 */ 122 * @deprecated use {@link org.openstreetmap.josm.gui.MainApplication#isDisplayingMapView()} 123 */ 124 @Deprecated 122 125 public static boolean isDisplayingMapView() { 123 126 return map != null && map.mapView != null; … … 151 154 * There should be no need to access this to access any map data. Use {@link #layerManager} instead. 152 155 * 156 * @deprecated Use {@link org.openstreetmap.josm.gui.MainApplication#getMap()} instead 153 157 * @see MainPanel 154 158 */ 159 @Deprecated 155 160 public static MapFrame map; 156 161 … … 1135 1140 } 1136 1141 if (newValue != null && oldBounds != null) { 1137 Main .map.mapView.zoomTo(oldBounds);1142 MainApplication.getMap().mapView.zoomTo(oldBounds); 1138 1143 } 1139 1144 /* TODO - remove layers with fixed projection */
Note:
See TracChangeset
for help on using the changeset viewer.