New Code Gen Option Poll

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

Should certain types (e.g., Text, List Table, etc.) be created as fields by default?

Yes. Make that the new default, but let me override as necessary
No. Keep old semantics and make everything a local variable by default
No votes
Total votes : 3

New Code Gen Option Poll

Postby Eric Clayberg » Thu Feb 19, 2004 8:01 pm

We are adding options to allow you to control, on a type-by-type basis, the default variable name used for a new widget (or other object) and whether the widget should be created as a field by default.

The question is whether we should set the defaults for certain widget types (like Text, List, Table, etc.) so that they are created as fields rather than local variables. The alternative would be to leave them as they are (e.g., everything is initially a local variable by default) and allow the user to change the settings according to their personal tastes.

Changing the defaults seems to make sense, but that alters the current semantics. What do you think? Vote and let us know.

Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
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