protected void activateWindow(ExecutionWindow window){
  lock.lock();
  try {
    if (!activeWindows.containsKey(window.getId())) {
      LOG.info("Activate window: " + window.getLabel());
      activeWindows.put(window.getId(),window);
      hasActiveWindows.signalAll();
    }
  }
  finally {
    lock.unlock();
  }
}

protected void activateWindow ( ExecutionWindow window ) { lock . lock ( ) ; try { if ( ! activeWindows . containsKey ( window . getId ( ) ) ) { LOG . info ( "Activate window: " + window . getLabel ( ) ) ; activeWindows . put ( window . getId ( ) , window ) ; hasActiveWindows . signalAll ( ) ; } } finally { lock . unlock ( ) ; } }
activates an execution window , if required . if the window is not already active , it is added to the active windows and all waiting objects are notified .
