Changeset 1415 in josm for trunk/src/org/openstreetmap/josm/gui/MapView.java
- Timestamp:
- 2009-02-16T15:14:34+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r1379 r1415 365 365 * that I switch layers and actions at the same time and it was annoying to mind the 366 366 * order. This way it works as visual clue for new users */ 367 for (Enumeration e = Main.map.toolGroup.getElements() ; e.hasMoreElements() ;) {368 AbstractButton x= (AbstractButton)e.nextElement();367 for (Enumeration<AbstractButton> e = Main.map.toolGroup.getElements() ; e.hasMoreElements() ;) { 368 AbstractButton x=e.nextElement(); 369 369 x.setEnabled(((MapMode)x.getAction()).layerIsSupported(layer)); 370 370 } … … 400 400 * 401 401 * @return <code>true</code> if a zoom operation has been performed 402 * @author Jan Peter Stotz403 402 */ 404 403 public boolean zoomToEditLayerBoundingBox() {
Note:
See TracChangeset
for help on using the changeset viewer.