[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: What exactly has changed with ActionSets in 3.2

Roland Tepp wrote:

The hack that solved my problem involved changing one line of code in my ApplicationActionBarAdvisor.fillCoolBar(ICoolBarManager) that added my tb from:
coolBar.add(new ToolBarContributionItem(mainToolbar, "main"));


to use (internally packaged) another tb contribution item implementation like this:
coolBar.add(new ToolBarContributionItem2(mainToolbar, "main"));


Seems like a bug somewhere in actionSet management code...
Although I can't tell what it is exactly without analyzing the issue much more deeply...

It was probably introduced by the code that added: IActionBarConfigurer2 and createToolBarContributionItem(*),

Although it's not clear how ... the TBCI2 doesn't exactly add much to the ToolBarContributionItem. Some interaction must make the action set contributions not be filled.

As you found, it's bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=136847

Later,
PW