PDA

View Full Version : More constructors



zaccret
6 May 2008, 6:35 AM
In the continuation of the javabeans convention (getters/setters instead of public properties), I think that constructors with often-used fields would be appreciated by gxt users.
For example :
- Container and all its subclasses could have a Container(Layout) constructor
- ContentPanel could have a ContentPanel(Layout,String) constructor and a ContentPanel(String) constructor for layout and heading text
- TextToolItem could have a TextToolItem(String,Menu) constructor for item text and menu.

jgindin
6 May 2008, 1:08 PM
+1

gslender
6 May 2008, 1:08 PM
+1

rdrever
6 May 2008, 2:39 PM
+1

zaccret
13 May 2008, 12:13 AM
Darell, can we get it for the next release :) ?