Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » PullDown item in tool bar with dynamic options
PullDown item in tool bar with dynamic options [message #900314] Mon, 06 August 2012 13:02 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 549
Registered: June 2011
Senior Member

I want to have a pull down item on my tool bar and i want to fill the options dynamically. What is the best way to implement this?

Re: PullDown item in tool bar with dynamic options [message #902854 is a reply to message #900314] Mon, 20 August 2012 18:15 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can use org.eclipse.ui.menus with a locationURI="toolbar:<>" to place your dropdown command element. Then you use a locationURI="menu:<>" to add the dropdown menu to that tool item.

You can use a dynamic element to implement the dynamic part.


Previous Topic:adding option to eclipse from my plugin
Next Topic:Pop up menus Java UI Plugin Development
Goto Forum:

Current Time: Tue Nov 24 22:28:53 GMT 2015

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

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