Revision 1763 branches/gvSIG_CAD_Layout_version/applications/appgvSIG/src/com/iver/cit/gvsig/gui/View.java

View differences:

View.java
266 266
        m_CadMapControl.getMapControl().addMapTool("rectSelection", new RectangleBehavior(rsl));
267 267
        
268 268
        // Zoom por rect?ngulo
269
        ZoomInListener zil = new ZoomInListener(m_CadMapControl.getMapControl());
269 270
        ZoomOutRightButtonListener zoil = new ZoomOutRightButtonListener(m_CadMapControl.getMapControl());
270
        ZoomInListener zil = new ZoomInListener(m_CadMapControl.getMapControl());
271
        m_CadMapControl.getMapControl().addMapTool("zoomIn", new Behavior[]{new PointBehavior(zoil), new RectangleBehavior(zil)});
271
        m_CadMapControl.getMapControl().addMapTool("zoomIn", new Behavior[]{ new RectangleBehavior(zil),new PointBehavior(zoil)});
272 272
        
273 273
        // Por defecto
274 274
        m_CadMapControl.getMapControl().pushTool("zoomIn"); 

Also available in: Unified diff