Skip to main content



      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 09:02 Go to next message
Eclipse UserFriend
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 14:15 Go to previous message
Eclipse UserFriend
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: Mon Apr 28 08:21:50 EDT 2025

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

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

Back to the top