Project project = anActionEvent.getData(PlatformDataKeys.PROJECT);
List<String> goals = anActionEvent.getData(LeiningenDataKeys.LEININGEN_GOALS);
if (goals == null || goals.isEmpty()) {
return;
}
LeiningenProject leiningenProject = anActionEvent.getData(LeiningenDataKeys.LEININGEN_PROJECT);
if (leiningenProject == null) {
return;
}
LeiningenRunnerParameters params = new LeiningenRunnerParameters(goals, leiningenProject.getWorkingDir());
LeiningenRunConfigurationType.runConfiguration(project, params, anActionEvent.getDataContext());
}