protected void updateComponent(boolean requestFocus, boolean onAutoUpdate) {
    if (myProject.isDisposed()) {
      return;
    }

    DataManager.getInstance()
      .getDataContextFromFocusAsync()
      .onSuccess(dataContext -> {
        if (!myProject.isOpen()) return;
        updateComponentInner(dataContext, requestFocus, onAutoUpdate);
      });
  }
protected void updateComponent(boolean requestFocus, boolean onAutoUpdate)