this.project = project;
}
@Override
public void actionPerformed(ActionEvent e) {
DaemonTaskDef taskDef = DownloadSourcesTask.createTaskDef(project);
GradleDaemonManager.submitGradleTask(SOURCES_DOWNLOADER, taskDef, new CommandCompleteListener() {
@Override
public void onComplete(Throwable error) {
if (error != null) {
project.displayError(NbStrings.getDownloadSourcesFailure(), error);