private void updateImportedModelWarning() {
    if (!myEditorsInitialized) return;

    ProjectModelExternalSource externalSource = ModuleRootManager.getInstance(myModule).getExternalSource();
    if (externalSource != null && isModified()) {
      myModificationOfImportedModelWarningComponent.showWarning(
        JavaUiBundle.message("project.roots.module.banner.text", myModule.getName()), externalSource);
    }
    else {
      myModificationOfImportedModelWarningComponent.hideWarning();
    }
  }
private void updateImportedModelWarning()