use of de.janthomae.leiningenplugin.project.LeiningenProjectException in project intellij-leiningen-plugin by derkork.
the class RefreshProjectsAction method actionPerformed.
@Override
public void actionPerformed(AnActionEvent e) {
final Project theProject = e.getData(PlatformDataKeys.PROJECT);
final LeiningenProjectsManager manager = LeiningenProjectsManager.getInstance(theProject);
final List<LeiningenProject> projects = manager.getLeiningenProjects();
for (LeiningenProject project : projects) {
try {
project.reimport(theProject);
} catch (LeiningenProjectException e1) {
// Just ignore it for now
}
}
}
Aggregations