Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Adding Text to ToolBar/ToolBarManager
Adding Text to ToolBar/ToolBarManager [message #464401] Tue, 22 November 2005 22:23 Go to next message
Jeff Yuan is currently offline Jeff Yuan
Messages: 34
Registered: July 2009
Member
Hi,
I have a quick question. Can a Text box be added to a ToolBar or
ToolBarManager? I am using the JFace ToolBarManager. It is easy to add
buttons (Action) but how do you add a Text box? Do you have to add it
directly to the underlying ToolBar?

Thanks.
Re: Adding Text to ToolBar/ToolBarManager [message #464402 is a reply to message #464401] Tue, 22 November 2005 22:40 Go to previous messageGo to next message
Jeff Yuan is currently offline Jeff Yuan
Messages: 34
Registered: July 2009
Member
I want to add that I tried to directly add a ToolItem to
toolBarManager.getControl by setting that as the parent, and it doesn't
seem to work.

So must I create the entire ToolBar without using the JFace ToolBarManager
in order to add a Text box to the toolbar?
Re: Adding Text to ToolBar/ToolBarManager [message #464506 is a reply to message #464402] Wed, 23 November 2005 15:37 Go to previous message
Veronika Irvine is currently offline Veronika Irvine
Messages: 1272
Registered: July 2009
Senior Member
You will probably geta better response to this JFace question in the
eclipse.platform newsgroup:

news://news.eclipse.org/eclipse.platform

"zinc" <zincsterio@yahoo.com> wrote in message
news:523b43636c0c8a607c8565f335f804ce$1@www.eclipse.org...
>I want to add that I tried to directly add a ToolItem to
>toolBarManager.getControl by setting that as the parent, and it doesn't
>seem to work.
>
> So must I create the entire ToolBar without using the JFace ToolBarManager
> in order to add a Text box to the toolbar?
>
Previous Topic:using FileDialog to browse a ftp directory
Next Topic:Is it possible to set a Label always at top of polyline connection?
Goto Forum:
  


Current Time: Sun Oct 26 06:01:55 GMT 2014

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

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