Revision 147 branches/usability_v2/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/DefaultLayoutControl.java

View differences:

DefaultLayoutControl.java
524 524

  
525 525
    public void refresh() {
526 526
        setStatus(DESACTUALIZADO);
527
        invalidate();
527 528
        repaint();
528 529
    }
529 530

  
......
597 598

  
598 599
    public void update(Observable observable, Object notification) {
599 600
       if ((notification != null) && (notification instanceof LayoutNotification)){
600
           LayoutNotification layoutNotification = (LayoutNotification)notification;
601
    	   LayoutNotification layoutNotification = (LayoutNotification)notification;
601 602
           if (LayoutNotification.LAYOUT_VALIDATED.equals(layoutNotification.getType())){
602 603
               status = ACTUALIZADO;
603 604
           }else if (LayoutNotification.LAYOUT_INVALIDATED.equals(layoutNotification.getType())){

Also available in: Unified diff