void (@NotNull AnActionEvent e, @Nullable RepositoryTreeNode node, boolean isRunning) { e.getPresentation().setEnabled(node != null && (node.getSVNDirEntry() == null || node.getSVNDirEntry().isDirectory()) && !isRunning); }