Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Hide popup submenu for multiple selection
Hide popup submenu for multiple selection [message #326601] Wed, 26 March 2008 08: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 15:03 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 Jul 07 04:15:05 GMT 2024

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

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

Back to the top