On Mac I'm able to detach either of the editor tabs, and dropping them next to the intellij window would create an other window with an editor in it. I've looked through the documentation what I could find (http://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+User+Interface+Components
), but I can't find a way to access the other window from the AnAction.actionPerformed(). I can get WindowManager.getInstance().getAllProjectFrames(), but that only shows the main window. How can I get the other windows?
Thank you in advance!