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: 530
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 Dec 18 12:39:12 GMT 2014

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

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