Changeset 15 in josm for src/org/openstreetmap/josm/gui/SelectionManager.java
- Timestamp:
- 2005-10-07T01:13:49+02:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/SelectionManager.java
r8 r15 88 88 private Point mousePos; 89 89 /** 90 * The MapView, the selection rectangle is drawn onto.91 */ 92 private final MapViewmv;90 * The Layer, the selection rectangle is drawn onto. 91 */ 92 private final Layer mv; 93 93 /** 94 94 * Whether the selection rectangle must obtain the aspect ratio of the … … 104 104 * @param aspectRatio If true, the selection window must obtain the aspect 105 105 * ratio of the drawComponent. 106 * @param mapViewThe view, the rectangle is drawn onto.107 */ 108 public SelectionManager(SelectionEnded selectionEndedListener, boolean aspectRatio, MapView mapView) {106 * @param layer The view, the rectangle is drawn onto. 107 */ 108 public SelectionManager(SelectionEnded selectionEndedListener, boolean aspectRatio, Layer layer) { 109 109 this.selectionEndedListener = selectionEndedListener; 110 110 this.aspectRatio = aspectRatio; 111 this.mv = mapView;111 this.mv = layer; 112 112 } 113 113
Note:
See TracChangeset
for help on using the changeset viewer.