Changeset 9801 in josm for trunk/test/unit
- Timestamp:
- 2016-02-14T21:48:00+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
r8540 r9801 10 10 import org.openstreetmap.josm.data.projection.Projections; 11 11 import org.openstreetmap.josm.gui.MainApplication; 12 import org.openstreetmap.josm.gui.layer.Layer; 12 13 import org.openstreetmap.josm.gui.preferences.ToolbarPreferences; 13 14 import org.openstreetmap.josm.io.OsmApi; … … 112 113 if (Main.map == null) { 113 114 Main.main.createMapFrame(null, null); 115 } else { 116 for (Layer l: Main.map.mapView.getAllLayers()) { 117 Main.map.mapView.removeLayer(l); 118 } 114 119 } 115 120 }
Note:
See TracChangeset
for help on using the changeset viewer.