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
by Christoph Kloppenburg » Tue Oct 09, 2007 11:35 pm
Dear all,
if there are several different constructors for a class, which constructor is parsed by the Designer to show the visual look of the class?
Is it the first constructor or the constructor without parameters or else ... ?
Any hints are welcome
-
Christoph Kloppenburg
-
- Posts: 3
- Joined: Thu Aug 16, 2007 7:22 am
by Eric Clayberg » Wed Oct 10, 2007 7:47 am
Christoph Kloppenburg wrote:if there are several different constructors for a class, which constructor is parsed by the Designer to show the visual look of the class?
Designer parses all of them. Typically for a GUI class, one constructor will call another.
You can hide a constructor from the parser using
code hiding tags...
-
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