Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to remove popup menus for a perspective(How to remove popup menus for a perspective)
How to remove popup menus for a perspective [message #668730] Fri, 06 May 2011 17:16 Go to next message
Eclipse UserFriend
Hello, I am working with Eclipse. I am developing a new perspective. I need to remove some Eclipse platform contributions (defined via org.eclipse.ui.popupMenus) in this perspective. Some of these popup menu options to be removed ar "Debug As...", for example.

Please help. Thanks.
Re: How to remove popup menus for a perspective [message #669640 is a reply to message #668730] Tue, 10 May 2011 22:17 Go to previous message
Eclipse UserFriend
It sounds like you might want to use activities or contexts. Have a look at extension points org.eclipse.ui.activities and org.eclipse.ui.contexts. There is a helpful description of how they work in the on-line help documentation that comes with the IDE. Look in Platform Plugin Developer Guide -> Advanced workbench concepts -> Filtering large user interfaces

As the help topic suggests, these extension points enable you to filter the UI contributions based on various criteria. In general, activities are used to define large groups of capabilities and make specific groups available to the user while doing certain types of things (like developing code in a specific language), or to make groups of activities available based on user permissions. Contexts provide a more fine-grained, dynamic UI filtering capability, for example changing available contributions based on what the user has clicked or what the current selection is.
Previous Topic:How to match editor inputs while accounting for different editors
Next Topic:Multipage editor
Goto Forum:
  


Current Time: Sun Aug 31 12:08:32 EDT 2025

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

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

Back to the top