Revision 4203 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/Layout.java

View differences:

Layout.java
386 386
            rect = m_attributes.getRectanglePortrait(rect, getWidth(),
387 387
                    getHeight());
388 388
        }
389

  
389
        /*IFFrame[] fframes=getFFrames();
390
        for (int i=0;i<fframes.length;i++){
391
        	fframes[i].initialize();
392
        }*/
390 393
        status = DESACTUALIZADO;
391 394
        repaint();
392 395
    }
......
1080 1083
    public Rectangle2D.Double getRect() {
1081 1084
        return rect;
1082 1085
    }
1083

  
1086
    public void setRect(Rectangle2D r){
1087
    	rect.setRect(r);
1088
    }
1084 1089
    /**
1085 1090
     * Obtiene un entero que representa la herramienta seleccionada.
1086 1091
     *
......
1361 1366
     * @see com.iver.mdiApp.ui.MDIManager.View#viewActivated()
1362 1367
     */
1363 1368
    public void viewActivated() {
1369
    	//Rectangle2D r=(Rectangle2D)getRect().clone();
1370
    	fullRect();
1371
    	/*IFFrame[] fframes=getFFrames();
1372
        for (int i=0;i<fframes.length;i++){
1373
        	fframes[i].initialize();
1374
        }
1375
        setRect(r);
1376
        */
1364 1377
        repaint();
1365 1378
        PluginServices.getMainFrame().getStatusBar().setMessage("1",
1366 1379
            getAtributes().getNameUnit());

Also available in: Unified diff