public void start(Runnable compileWork, Runnable restartWork) {
    myCompileWork = compileWork;
    myRestartWork = restartWork;
    ProgressManager.getInstance().run(this);
  }
public void start(Runnable compileWork, Runnable restartWork)