Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to contribute a popup menu to Trim Area
How to contribute a popup menu to Trim Area [message #328717] Mon, 02 June 2008 14:24 Go to next message
Eclipse UserFriend
Hello,
I need find out how to contribute a popup menu to Shell trim area. I
searched around, and I couldn't find any useful instruction or sample.

Can someone please give me some instruction of how to do this.

thanks,
Hongying Zhang
Re: How to contribute a popup menu to Trim Area [message #328927 is a reply to message #328717] Fri, 06 June 2008 14:17 Go to previous message
Eclipse UserFriend
You can create your trim Menu using a MenuManager, and then use
IMenuService#populateContributionManager(*) with your own unique ID to
allow contributions to it.

You can't get object contributions into the trim.

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:How can i construct editor's container (i.e. IEditorSite)?
Next Topic:Multipage Header Toolbar-, Menu- Manager population
Goto Forum:
  


Current Time: Tue May 06 13:19:33 EDT 2025

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

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

Back to the top