Reputation: 749
I'm trying to change the editor tab color depending of the file path.
Because I'm working on an mvc infrastructure, and well, we often get the same file name in 3 different folders.
(Liste is french for List)
And well I was wondering if it is possible to change the tab color? I did not find what I wanted on Google + Eclipse API, So here I am, posting.
Anyway, help on this would be really appreciated!
Thank you!
Upvotes: 1
Views: 769
Reputation: 3412
I don't think that's possible, because there is no way to change the color of CTabItem
. You can however change the font of the CTabItem
or the icon. You need to create custom MultiPageEditorPart
and override the addPage()
methods and handle the creation of CTabItems
Upvotes: 2