Refresh Coolbar after creating new AbstractContributionFactory. [message #332501] |
Thu, 23 October 2008 17:59  |
Eclipse User |
|
|
|
I'm looking for the best method of forcing the coolbar to update/refresh
to include my newly added AbstractContributionFactory's contributions.
right now i'm doing this and it feels hacky:
coolBarManager.removeAll();
menuService.populateContributionManager(
coolBarManager,
MenuUtil.MAIN_TOOLBAR );
|
|
|
|
Re: Refresh Coolbar after creating new AbstractContributionFactory. [message #332562 is a reply to message #332519] |
Tue, 28 October 2008 20:31   |
Eclipse User |
|
|
|
once i stopped laughing i began to fret about my current approach...
i'll let you know what i find.
kjm
Paul Webster wrote:
> kevin j miles wrote:
>> I'm looking for the best method of forcing the coolbar to
>> update/refresh to include my newly added AbstractContributionFactory's
>> contributions.
>>
>> right now i'm doing this and it feels hacky:
>>
>> coolBarManager.removeAll();
>>
>> menuService.populateContributionManager(
>> coolBarManager,
>> MenuUtil.MAIN_TOOLBAR );
>
> Gack! I nearly dropped my coffee :-) That will only cause sadness,
> unfortunately.
>
> Having an programmatic ACF added to existing ContributionManagers that
> were populated isn't supported until 3.4.
>
> I'm not sure how to tackle that in 3.3
>
> PW
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03762 seconds