@Override
  public void update(@NotNull AnActionEvent e) {
    if (ActionPlaces.isPopupPlace(e.getPlace())) {
      e.getPresentation().setVisible(false);
    }
    else {
      Module module = e.getData(LangDataKeys.MODULE_CONTEXT);
      boolean enable = module != null && AddFrameworkSupportDialog.isAvailable(module);
      e.getPresentation().setEnabledAndVisible(enable);
    }
  }
@Override
  public void update(@NotNull AnActionEvent e)