Hello,
I'm opening file editor in new tab using this code:
FileEditor[] editors = FileEditorManager.getInstance(project).openFile(file, true);
What need to write for opening file editor in new window (as in this topic http://www.jetbrains.com/idea/webhelp/detaching-editor-tabs.html).
Thanks.