Can anyone tell me how to trigger a reload for a project. IDEA itself does it when the language level changes. I found a ReloadProjectAction, but unfortunately I need to pass an AnActionEvent to its actionPerformed: Is there a simpler way?
P.S.: If there are different ways to do it for IDEA 7 and 8: I'm interested in both.