void (@NotNull AnActionEvent e) { // show dialog for comment and folder name, then create folder // then refresh selected node. final RepositoryTreeNode node = myBrowserComponent.getSelectedNode(); if (node == null) { return; } final Project project = myBrowserComponent.getProject(); MkdirOptionsDialog dialog = new MkdirOptionsDialog(project, node.getURL()); dialog.show(); VcsConfiguration.getInstance(project).saveCommitMessage(dialog.getCommitMessage()); if (dialog.isOK()) { Url url = dialog.getURL(); String message = dialog.getCommitMessage(); doMkdir(url, message, project); final Url repositoryUrl = (node.getSVNDirEntry() == null) ? node.getURL() : node.getSVNDirEntry().getRepositoryRoot(); final SyntheticWorker worker = new SyntheticWorker(node.getURL()); worker.addSyntheticChildToSelf(url, repositoryUrl, dialog.getName(), true); node.reload(false); } }