public synchronized void toBackground(@Nullable StatusBarEx statusBar) {
    if (myPluginModel == null) return; // IDEA-355719 TODO add lifecycle assertions
    myPluginModel = null;
    indicator.removeStateDelegates();
    if (statusBar != null) {
      String title = install ?
                     IdeBundle.message("dialog.title.installing.plugin", myDescriptor.getName()) :
                     IdeBundle.message("dialog.title.updating.plugin", myDescriptor.getName());
      statusBar.addProgress(indicator, myStatusBarTaskInfo = OneLineProgressIndicator.task(title));
    }
  }
public synchronized void toBackground(@Nullable StatusBarEx statusBar)