@Override
  protected void update(@NotNull FileChooserPanel panel, @NotNull AnActionEvent e) {
    e.getPresentation().setEnabled(panel.hasHistory(myBackward));
  }
@Override
  protected void update(@NotNull FileChooserPanel panel, @NotNull AnActionEvent e)