[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

No - as my RCP app uses multiple perspectives, I don't have my actionSet default visibility set in any way.

Instead I use perspectiveExtensions extension point to direct the visibility of my actionSets

Also - I don't have "Customize Perspective" available for my RCP app, so I can't tell if the state of the actionSets right off the bat, based on debugging of the code I had to do, all the enablement things seemed to work as expected.

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...


Paul Webster kirjutas mulle midagi seesugust:
Do your actionSets have their default visibility set to true? If you have Window>Customize Perpsctive in your RCP app, can you see the state of your actionSets?

Are there any errors in your <runtime-workspace>/.metadata/.log file?

Later,
PW

-- Roland Tepp