private static final String MENU_TEXT = "Resolve for {0} module";
public void actionPerformed(final AnActionEvent e) {
final Module module = DataKeys.MODULE.getData(e.getDataContext());
if (module != null) {
ProgressManager.getInstance().run(new IvyIdeaResolveBackgroundTask(module.getProject(), e) {
public void doResolve(@NotNull ProgressIndicator progressIndicator) throws IvySettingsNotFoundException, IvyFileReadException, IvySettingsFileReadException {
clearConsole(myProject);
final IvyManager ivyManager = new IvyManager();
getProgressMonitorThread().setIvy(ivyManager.getIvy(module));