How to change the color of toolbar? [message #116135] |
Wed, 17 December 2008 23:01  |
Eclipse User |
|
|
|
Hi,
How to change the color of toolbar and status line, and how to add
background image to them?
Toolbar and status line colors could be set by the following method, but the
perpective bar will disappear.
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
toolbar = configurer.createCoolBarControl(shell);
page = configurer.createPageComposite(shell);
statusline = configurer.createStatusLine(shell);
Thanks,
Terry
|
|
|
|
|
|
Re: How to change the color of toolbar? [message #116944 is a reply to message #116890] |
Mon, 22 December 2008 10:17  |
Eclipse User |
|
|
|
Hi,
> ToolBarManager#getControl() should return the tool bar.
Thanks, I overlook this since my variable refers to IToolBarManager, but
accessing implementation rather than its interface doesn't comfort me.
I hope the bug will be fixed soon.
Regards,
Setya
|
|
|
Powered by
FUDForum. Page generated in 0.03288 seconds