Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Use activities to hide objectContribution from popup menus
Use activities to hide objectContribution from popup menus [message #336474] Tue, 16 June 2009 10:24 Go to next message
Mohamed Hussein is currently offline Mohamed HusseinFriend
Messages: 76
Registered: July 2009
Member
Hello,

I was trying to use activities to reduce the clutter in the gui of actions
not applicable to my RCP application.

I could easily hide views, search pages and preference pages.

But I couldn't get it working with objectContribution to the popup menu of
a navigator view.

What is the pattern I should be using? I tried the objectContribution id,
and the added menu id with no avail.

Thanks in advance,
Mamado


Best Regards,
Mohamed.
Re: Use activities to hide objectContribution from popup menus [message #336476 is a reply to message #336474] Tue, 16 June 2009 12:54 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If it works it would be <plugin.id>/<object.contribution.id>

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/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:How to update the checked state of a command per window?
Next Topic:Can't find 64-bit build of Galileo RC4 for OS X
Goto Forum:
  


Current Time: Tue Apr 23 10:43:11 GMT 2024

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

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

Back to the top