public void attachProgressTitleText(@NotNull @Nls String textAddon, @NotNull Disposable lifetime) {
    mySubProcessTitles.add(textAddon);
    updateAllRegisteredProgressWindows();
    Disposer.register(lifetime, () -> {
      if (mySubProcessTitles.remove(textAddon)) {
        updateAllRegisteredProgressWindows();
      }
    });
  }
public void attachProgressTitleText(@NotNull @Nls String textAddon, @NotNull Disposable lifetime)