run when maven project completed opening
Hi...
In my plugin I am writing a new pom file, then opening it with ProjectUtil.openOrImport(/path/to/pom).
It works fine but I need to know when the project is completely initialised, ie all maven artifacts downloaded, indexing complete, and the modules have appeared in the Project view.
I've tried dumbService.runWhenSmart, dumbService.repeatUntilPassesInSmartMode, but they both seem to occur far before the above.
The closest I've got seems to be subscribing to ProjectTopics.PROJECT_ROOTS...
请先登录再写评论。