Skip to main content


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: 550
Registered: June 2011
Senior Member
Hi,

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?

Cheers,
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:<whatever.id>" to place your dropdown command element. Then you use a locationURI="menu:<command.element.id>" to add the dropdown menu to that tool item.

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

PW


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


Current Time: Thu Apr 25 18:56:00 GMT 2024

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

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

Back to the top