void (@NotNull FileSystemTree fileChooser, @NotNull AnActionEvent e) { boolean state = !fileChooser.areHiddensShown(); fileChooser.showHiddens(state); Toggleable.setSelected(e.getPresentation(), state); }