Drop Down ToolBar in a view

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Drop Down ToolBar in a view

Postby avier5 » Tue Jan 11, 2005 12:38 am

Hi all,
I want to create a toolBar that has a group of actions and looks like an icon that when we press on it, a drop down list of action will be seen and we will be able to select one of the actions. It is like the menuBar but I need it in the toolBar.

How can I achieve this function ?

Thanks in advance,
HBC.
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Re: Drop Down ToolBar in a view

Postby Eric Clayberg » Wed Jan 12, 2005 8:42 am

avier5 wrote:I want to create a toolBar that has a group of actions and looks like an icon that when we press on it, a drop down list of action will be seen and we will be able to select one of the actions. It is like the menuBar but I need it in the toolBar. How can I achieve this function ?

At the moment, you would need to do that programatically (there are several examples within Eclipse itself that you can look at).

We plan to add support for this directly to Designer in the future.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest