ToolItem child control support

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

ToolItem child control support

Postby dfayerma » Mon Sep 20, 2004 11:03 am

The designer does not support placing controls inside a ToolItem with
SWT.SEPARATOR style.
Even if I make the changes in the code the preview does not correctly display the child Control in the Toolbar

Here is a simple code snipet that should be supported:

Code: Select all
final ToolItem toolItem_1 = new ToolItem(toolBar, SWT.SEPARATOR);
toolItem_1.setText("New item");
       
Text text = new Text(toolBar, SWT.BORDER);
       
toolItem_1.setControl(text);
dfayerma
 
Posts: 30
Joined: Mon Sep 20, 2004 10:51 am
Location: Boston, USA

Re: ToolItem child control support

Postby Eric Clayberg » Tue Sep 21, 2004 5:22 am

dfayerma wrote:The designer does not support placing controls inside a ToolItem with SWT.SEPARATOR style. Even if I make the changes in the code the preview does not correctly display the child Control in the Toolbar

A new v2.1.1 build is now available that supports children added to ToolItems with the SWT.SEPARATOR style.
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

Postby dfayerma » Tue Sep 21, 2004 5:47 am

Just to clarify the ToolItem child support is available in 2.1.1 release
dated 9/21/04.

I had release of 9/19/24 and this feature was not available there.

You guys are fast!

Thanks a lot.
dfayerma
 
Posts: 30
Joined: Mon Sep 20, 2004 10:51 am
Location: Boston, USA

Postby Eric Clayberg » Tue Sep 21, 2004 7:45 am

dfayerma wrote:Just to clarify the ToolItem child support is available in 2.1.1 release dated 9/21/04.

Yes. We added it based on your report.
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