void (@NotNull AnActionEvent e) { final AntBuildFile buildFile = getCurrentBuildFile(); if (buildFile != null) { final List<String> targets = getTargetNamesFromPaths(myTree.getSelectionPaths()); final ExecuteCompositeTargetEvent event = new ExecuteCompositeTargetEvent(targets); final SaveMetaTargetDialog dialog = new SaveMetaTargetDialog(myTree, event, AntConfigurationBase.getInstance(myProject), buildFile); dialog.setTitle(e.getPresentation().getText()); if (dialog.showAndGet()) { myTreeModel.invalidate(buildFile, true); } } }