PDA

View Full Version : More constructors


zaccret
05-06-2008, 10: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
05-06-2008, 05:08 PM
+1

gslender
05-06-2008, 05:08 PM
+1

rdrever
05-06-2008, 06:39 PM
+1

zaccret
05-13-2008, 04:13 AM
Darell, can we get it for the next release :) ?