PHPStorm EAP 172.2273.9 getIdeFrame stopped working

In my IntelliJ Code::Stats plugin, I am using this piece of code to get the status bar of a newly opened project window:

It has worked fine so far, but in the latest EAP of PHPStorm (172.2273.9) the call getIdeFrame(project) returns null. Replacing getIdeFrame with just getFrame I also get null. I can run WindowManager.getInstance().getAllProjectFrames() and I get a list of frames where the opened window frame is, but when I open a new project in a new window, getAllProjectFrames() will still only contain that first frame.

Should I be getting the status bar of a window in a different way? I want to add my status bar item to all windows, current and future.


Please sign in to leave a comment.