void (@NotNull AnActionEvent e) { Project project = e.getProject(); SetPropertyDialog dialog = new SetPropertyDialog(project, new File[]{myFile}, null, myFile.isDirectory()); boolean recursive = false; if (dialog.showAndGet()) { recursive = dialog.isRecursive(); setProperty(dialog.getPropertyName(), dialog.getPropertyValue(), recursive, false); } updateFileView(recursive); }