How to set style for the multipage editor tab text (tab name)? [message #332685] |
Wed, 05 November 2008 05:16 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: automatic.javalobby.org
Hi,
I am working on RCP using Eclipse 3.2(WTP). I would like to know setting the style (foreground color, font) for the multipage editor tab text i.e the name/text of the multipage editor tab.
Any help will be appreciated.
Thanks,
Prasanna
|
|
|
|
|
|
|
|
Re: How to set style for the multipage editor tab text (tab name)? [message #333159 is a reply to message #332793] |
Thu, 27 November 2008 06:01 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: automatic.javalobby.org
Hi,
Yeah I could change the font style of the multipage editor tab using the following code:
Object oTabFolder = getContainer();
if((oTabFolder != null) && (oTabFolder instanceof CTabFolder)){
CTabFolder tabFolder = (CTabFolder)oTabFolder;
CTabItem tabItem = tabFolder.getItem(index);
if(tabItem != null){
tabItem.setFont(tabFont);
}
}
Thanks,
Prasanna
|
|
|
Powered by
FUDForum. Page generated in 0.03729 seconds