Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Create a Combo in the CoolBar of the RCP
Create a Combo in the CoolBar of the RCP [message #483725] Wed, 02 September 2009 17:41 Go to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
I am trying to add a set of ActionContibutionItem that would display inside
a combo box on the RCP's main coolbar. Selecting an item in the combo would
invoke a the action associated with the combo entry. Not sure if that is
possible.
Re: Create a Combo in the CoolBar of the RCP [message #483736 is a reply to message #483725] Wed, 02 September 2009 18:37 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Not using an ActionContributionItem.

You can use a ControlContribution to add the combo, but you would have to wire up the combo SWT.Selection to do what you want.

PW


Re: Create a Combo in the CoolBar of the RCP [message #483796 is a reply to message #483725] Thu, 03 September 2009 05:03 Go to previous message
Madhu Samuel is currently offline Madhu SamuelFriend
Messages: 199
Registered: July 2009
Senior Member
Just a pointer (usage of combo in toolbar) :
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet58.java?view=co


Previous Topic:Get the product version in customBuildCallbacks.xml
Next Topic:add toolbar for section of form using plugin
Goto Forum:
  


Current Time: Wed Apr 24 15:37:33 GMT 2024

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

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

Back to the top