Revision 42550 trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/ui/mdiFrame/MDIFrame.java

View differences:

MDIFrame.java
1192 1192
            });
1193 1193
            return;
1194 1194
        }
1195
        logger.info("ENABLE CONTROOOOOLS");
1196
        StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
1197
        for(int i=0; i<stackTrace.length; i++){
1198
            logger.info(stackTrace[i].toString());
1199
        }
1200 1195

  
1201 1196
        ActionInfoManager actionManager = PluginsLocator.getActionInfoManager();
1202 1197
        ActionInfoStatusCache cache = actionManager.createActionStatusCache();
......
1329 1324
    }
1330 1325

  
1331 1326
    public synchronized void refreshControls() {
1332
        logger.info("ESTOY AQUIIIIIIIIIII 1");
1333 1327
        if ( !SwingUtilities.isEventDispatchThread() ) {
1334 1328
            SwingUtilities.invokeLater(new Runnable() {
1335 1329
                public void run() {
......
1339 1333
            return;
1340 1334
        }
1341 1335

  
1342
        logger.info("ESTOY AQUIIIIIIIIIII 2");
1343 1336
        if(refreshingControls){
1344 1337
            return;
1345 1338
        }
1346 1339
        try {
1347
//        enableControls();
1348 1340
        refreshingControls = true;
1349 1341
        ActionInfoManager actionManager = PluginsLocator.getActionInfoManager();
1350 1342
        ActionInfoStatusCache cache = actionManager.createActionStatusCache();
......
1374 1366
                }
1375 1367
            }
1376 1368
        }
1377
        logger.info("ESTOY AQUIIIIIIIIIII 3");
1378 1369

  
1379 1370
        enableControls();
1380
        logger.info("ESTOY AQUIIIIIIIIIII 4");
1381
        logger.info("   ");
1382

  
1383 1371
        } finally {
1384 1372
            refreshingControls = false;
1385 1373
        }

Also available in: Unified diff