Ignore:
Timestamp:
2005-10-07T01:13:49+02:00 (19 years ago)
Author:
imi
Message:

renamed alot (Layer instead of MapView) and removed feature of having
projections on every Layer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/gui/SelectionManager.java

    r8 r15  
    8888        private Point mousePos;
    8989        /**
    90          * The MapView, the selection rectangle is drawn onto.
    91          */
    92         private final MapView mv;
     90         * The Layer, the selection rectangle is drawn onto.
     91         */
     92        private final Layer mv;
    9393        /**
    9494         * Whether the selection rectangle must obtain the aspect ratio of the
     
    104104         * @param aspectRatio If true, the selection window must obtain the aspect
    105105         *              ratio of the drawComponent.
    106          * @param mapView The 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) {
    109109                this.selectionEndedListener = selectionEndedListener;
    110110                this.aspectRatio = aspectRatio;
    111                 this.mv = mapView;
     111                this.mv = layer;
    112112        }
    113113       
Note: See TracChangeset for help on using the changeset viewer.