Enhancement Proposal

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Enhancement Proposal

Postby qoelhex » Thu Oct 05, 2006 11:53 am

When you insert widgets with GWT Designer, it create the widget as a local variable. Why not as a property?

I usually need to access widgets properties from another methods...
qoelhex
 
Posts: 2
Joined: Thu Oct 05, 2006 11:43 am

Re: Enhancement Proposal

Postby Eric Clayberg » Thu Oct 05, 2006 2:32 pm

qoelhex wrote:When you insert widgets with GWT Designer, it create the widget as a local variable. Why not as a property?

You can have widgets generated as local variables or fields depending on your code generation preference.

You can either have every widget generated as a field by turning on the Create every component as a field by default preference, or you can control it on a type-by-type basis using the Type Specific preferences.

Image Image

You can also convert local variables to fields and back again using the Image Local to Field button.
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 GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests