Changeset 2343 in josm for trunk/src/org/openstreetmap/josm/Main.java
- Timestamp:
- 2009-10-28T20:14:07+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r2328 r2343 70 70 71 71 abstract public class Main { 72 73 /** 74 * Replies true if JOSM currently displays a map view. False, if it doesn't, i.e. if 75 * it only shows the MOTD panel. 76 * 77 * @return true if JOSM currently displays a map view 78 */ 79 static public boolean isDisplayingMapView() { 80 if (map == null) return false; 81 if (map.mapView == null) return false; 82 return true; 83 } 72 84 /** 73 85 * Global parent component for all dialogs and message boxes
Note:
See TracChangeset
for help on using the changeset viewer.