stackLayout.topControl in runtime versus design time

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

stackLayout.topControl in runtime versus design time

Postby fridi » Fri Jan 16, 2009 6:43 am

Hi,

We use
Code: Select all
stackLayout.topControl = composite;
to switch the topControl a runtime somewhere in our classes.
If we edit the GUI with SWT Designer and switch to another topControl at design time, the line is deleted and inserted into the constructor using the last active top control.
Is there a way to avoid this?

I had the same problem with a tabfolder: I wanted to hide the tabs at runtime, but keeping them at design time for better overview.

Thanks in advance,
fridi
fridi
 
Posts: 6
Joined: Tue Feb 24, 2004 8:45 am
Location: Germany

Re: stackLayout.topControl in runtime versus design time

Postby Eric Clayberg » Sat Jan 17, 2009 7:39 am

fridi wrote:Is there a way to avoid this?

Yes. That feature has been removed from the latest v6.9.0 build.
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 2 guests