Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:44 Go to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
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 20:44]

Report message to a moderator

Re: How to update menu after uninstall fragment contribution bundle [message #725481 is a reply to message #725459] Wed, 14 September 2011 20:59 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 18:08 Go to previous message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
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: Fri Mar 29 11:30:55 GMT 2024

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

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

Back to the top