Adding ContributionItem directly to Coolbar causes all Separators to be invisible. [message #332940] |
Fri, 14 November 2008 14:22  |
Eclipse User |
|
|
|
After adding a toolbarManager directly to the Coolbar causes all the
Separators in the all toolbars to go invisible. they are still there,
there's still an extra space but they are not visible.
simply doing the following code causes the issue... what am i doing wrong?
CoolBarManager coolBarManager = ( (WorkbenchWindow) window
).getCoolBarManager();
newToolbarManager = new ToolBarManager2();
ToolBarContributionItem tbci = new
ToolBarContributionItem2(newToolbarManager, element.getId());
coolBarManager.insertAfter( element.getId(), tbci );
coolBarManager.markDirty();
((WorkbenchWindow)window).updateActionBars();
kjm
|
|
|
|
Powered by
FUDForum. Page generated in 0.03305 seconds