@Override
  protected void update(@NotNull FileChooserPanel panel, @NotNull AnActionEvent e) {
    e.getPresentation().setEnabledAndVisible(getModulePath(e) != null);
  }
@Override
  protected void update(@NotNull FileChooserPanel panel, @NotNull AnActionEvent e)