Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » How to update menu after uninstall fragment contribution bundle ?
How to update menu after uninstall fragment contribution bundle ? [message #725459] Wed, 14 September 2011 16:44 Go to next message
Eclipse UserFriend
Hi,

I could create an example of a fragment contributing Menu items to a master application. It works well, all menus were added successfully by my contribution bundle.

Now I'm using the osgi console to uninstall the bundle, but after removing the menu items still there...

What I need to do ? Do I need to create some code to remove them ?

Could someone point me the way? thanks

cheers

Cristiano

[Updated on: Wed, 14 September 2011 16:44] by Moderator

Re: How to update menu after uninstall fragment contribution bundle [message #725481 is a reply to message #725459] Wed, 14 September 2011 16:59 Go to previous messageGo to next message
Eclipse UserFriend
We don't yet support this - we already track the informations in the
model who contributed which element so we should be able to support this
usecase.

Naturally you can implement this your own in your Activators stop method.

Tom

Am 14.09.11 22:44, schrieb Cristiano avi:
> Hi,
>
> I could create an example of a fragment contributing Menu items to a
> master application. It works well, all menus were added successfully by
> my contribution bundle.
>
> Now I'm using the osgi console to uninstall the bundle, but after
> removing the menu items still there...
> What I need to do ? Do I need to create some code to remove them ?
>
> Could someone point me the way? thanks
> cheers
>
> Cristiano
Re: How to update menu after uninstall fragment contribution bundle [message #725772 is a reply to message #725481] Thu, 15 September 2011 14:08 Go to previous message
Eclipse UserFriend
Hey Tom,

Thanks for the answer...

Could you tell me which E4 service should I access at the Activator that let me to do this job programatically?

cheers

Cristiano
Previous Topic:e4 compatability layer: add menu item in default file menu
Next Topic:at fragment can I use command or handle of host ?
Goto Forum:
  


Current Time: Sat Jul 05 05:01:22 EDT 2025

Powered by FUDForum. Page generated in 0.03067 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top