Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Remove unwanted menu items
Remove unwanted menu items [message #492835] Wed, 21 October 2009 23:34 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: October 2009
Junior Member
I am wondering how to remove following default context menu items in Eclipse plug-in development.
1. Run As
2. Team
I tried to remove related plug-ins in Run Configuration, but it did not work. Anyone can help me with this?
Re: Remove unwanted menu items [message #492848 is a reply to message #492835] Thu, 22 October 2009 04:48 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi,

you can use Plug-in spy for menus to identify the contributing plug-ins
and then remove them.

Please see here:
http://www.vogella.de/articles/EclipseCodeAccess/article.htm l#pluginspy


Best regards, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter


suchen_jpdi@hotmail.com wrote:
> I am wondering how to remove following default context menu items in
> Eclipse plug-in development.
> 1. Run As
> 2. Team
> I tried to remove related plug-ins in Run Configuration, but it did not
> work. Anyone can help me with this?
Re: Remove unwanted menu items [message #492961 is a reply to message #492848] Thu, 22 October 2009 14:09 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: October 2009
Junior Member
Hi Lars,
Thanks for your response. However, I do know which plug-in contributes to the context menu. For example, "Team" is in org.eclipse.ui.workbench which has so many dependencies that I cannot remove it in Run configurations.
What should I do in this case? Would you show me an example for better understanding?

Thanks for your help
Re: Remove unwanted menu items [message #493649 is a reply to message #492835] Tue, 27 October 2009 13:23 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Run As, Team - you want to remove them from the context menu of what? Package Explorer? Project Explorer? Java Editor? Your own views and/or editors?

If you didn't create the view yourself, you'll have a hard time getting rid of them. Context menus don't respond to activities.

PW


Previous Topic:Actions & Parameters
Next Topic:Tutorial: p2 updates for Eclipse RCP applications
Goto Forum:
  


Current Time: Thu Mar 28 20:05:37 GMT 2024

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

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

Back to the top