Visual Inheritance: Change layoutmanager

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

Visual Inheritance: Change layoutmanager

Postby martin.lackner » Tue Jul 29, 2008 9:40 am

Is it possible to change the layout manager in the subclassed composite with a new layout manager (for example group layout or form layout) and reposition the inherited controls?
We currently evaluate swt and swt-designer for our software which is reused in sister-companies, where our gui-composites are sometimes extended with some additional controls. We can not put placeholder in the composite, because we don't know in advance where they have to extend our masks. With absolute layout repositioning would be no problem. But we want to use the dynamic layout of layout managers. Is there any change to do the same with a layout manager (which does not depend on the child order).

Thanks in advance for your ideas
martin.lackner
 
Posts: 4
Joined: Tue Jul 29, 2008 7:09 am

Re: Visual Inheritance: Change layoutmanager

Postby Eric Clayberg » Wed Jul 30, 2008 5:50 am

martin.lackner wrote:Is it possible to change the layout manager in the subclassed composite with a new layout manager (for example group layout or form layout) and reposition the inherited controls?

That is currently only possible with null layout. It might be possible with FormLayout in the future. It would not work with GroupLayout.
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