void (File plugin, Project project) { if (Messages.showYesNoDialog(project, DevKitBundle.message("deployment.view.delete", plugin.getPath()), DevKitBundle.message("deployment.cleanup", META_INF), null) == Messages.YES) { FileUtil.delete(plugin.getParentFile()); } }