public void executeWhenInitialized(@NotNull final Runnable runnable){
  try {
    myInitializationWaiter.await();
    runnable.run();
  }
 catch (  InterruptedException e) {
    LOG.error(e);
  }
}

public void executeWhenInitialized ( @ NotNull final Runnable runnable ) { try { myInitializationWaiter . await ( ) ; runnable . run ( ) ; } catch ( InterruptedException e ) { LOG . error ( e ) ; } }
makes the current thread wait until the changesviewcontentmanager is initialized . when it initializes , executes the given runnable .
