Changeset 276 in josm
- Timestamp:
- 2007-07-05T14:21:15+02:00 (17 years ago)
- Location:
- src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/MapFrame.java
r237 r276 66 66 public final ButtonGroup toolGroup = new ButtonGroup(); 67 67 68 /** 69 * Construct a map with a given DataSet. The set cannot be replaced after 70 * construction (but of course, the data can be altered using the map's 71 * editing features). 72 * 73 * @param layer The first layer in the mapView. 74 */ 68 75 69 public MapFrame() { 76 70 setSize(400,400); -
src/org/openstreetmap/josm/gui/MapView.java
r262 r276 37 37 * what projection the map is viewed etc.. 38 38 * 39 * MapView is able to administrate several layers, but there must be always at 40 * least one layer with a dataset in it (Layer.getDataSet returning non-null). 39 * MapView is able to administrate several layers. 41 40 * 42 41 * @author imi -
src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r247 r276 217 217 /** 218 218 * Undoes the last added command. 219 * TODO: This has to be moved to a central place in order to support multiple layers. 219 220 */ 220 221 public void undo() { … … 230 231 /** 231 232 * Redoes the last undoed command. 233 * TODO: This has to be moved to a central place in order to support multiple layers. 232 234 */ 233 235 public void redo() { -
src/org/openstreetmap/josm/io/OsmReader.java
r242 r276 226 226 if (node.id == id) 227 227 return node; 228 // TODO: This has to be changed to support multiple layers. 228 229 for (Node node : Main.ds.nodes) 229 230 if (node.id == id) … … 239 240 if (seg.id == id) 240 241 return seg; 242 // TODO: This has to be changed to support multiple layers. 241 243 for (Segment seg : Main.ds.segments) 242 244 if (seg.id == id) … … 270 272 * @param ref The dataset that is search in for references first. If 271 273 * the Reference is not found here, Main.ds is searched. 274 * TODO: This has to be changed to support multiple layers. 272 275 */ 273 276 public static DataSet parseDataSet(InputStream source, DataSet ref, PleaseWaitDialog pleaseWaitDlg) throws SAXException, IOException {
Note:
See TracChangeset
for help on using the changeset viewer.