[HOW-TO] Tab icons on editors with multiple FileEditorProviders

It is known that if several FileEditorProviders accept one type of file, the editor will show distinct tabs at the bottom for each provider.
Is there a way to set the icon for these tabs in 8.0?

In older versions (7.0), this was using the swing JTabbedPane and it was easy to hook into it, but this has been rewritten in 8.0 and it is using a custom component (com.intellij.ui.TabbedPane) which i can not access from FileEditor.getComponent() any more.

Please sign in to leave a comment.