| What exactly has changed with ActionSets in 3.2 [message #310301] |
Tue, 28 November 2006 10:11  |
Eclipse User |
|
|
|
Hello,
I am stuck migrating my RCP application from 3.1 codebase to 3.2 codebase.
After few quite trivial fixes I got my application to build and launch
(from eclipse launcher at least), only to find that all my toolbar
buttons have disappeared!
To be exact - not all did disappear - the ones that sticked were the
ones I had put to toolbar manually in ApplicationActionBarAdvisor.
All the others that were contributed by plugins just disappeared
mysteriously.
And there is no clue whatsoever to why I can't get them back.
According to doc, it should all work as before.
Can anybody help me out
--
Roland Tepp
|
|
|
|
|
|
| Re: What exactly has changed with ActionSets in 3.2 [message #310370 is a reply to message #310351] |
Wed, 29 November 2006 13:28  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04388 seconds