Setting selected editor

I have a file open that has several tabs and i would like to set the selected one.
I can get the tabs with:

FileEditorManager.getInstance(myProject).getEditors(fileInEditor);

How do i change the selected tab ?

Thanks.

Please sign in to leave a comment.