Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Hide popup submenu for multiple selection
Hide popup submenu for multiple selection [message #326601] Wed, 26 March 2008 04:45 Go to next message
Eclipse UserFriend
Originally posted by: jaaayz.gmail.com

Hi,

In my plugin, I've added a submenu to the popup menu (using
objectContribution), and it contains a few actions. I would like some of
these actions to disappear in case there is a multiple selection.

Disabling these actions is easy, but I would really like to see them gone.

Any ideas?

Zakhi
Re: Hide popup submenu for multiple selection [message #326621 is a reply to message #326601] Wed, 26 March 2008 11:03 Go to previous message
Eclipse UserFriend
You can wipe out an entire objectContribution using visibility or
enablement at that level, but not at the action level.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Previous Topic:Programatically evaluating expressions
Next Topic:gets the active page path
Goto Forum:
  


Current Time: Sun Mar 16 22:53:46 EDT 2025

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

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

Back to the top