|Re: initDataBinding called at design time in nested composites [message #742592 is a reply to message #742544]
||Thu, 20 October 2011 16:23
| Eric Clayberg
Registered: July 2009
Location: Boston, MA
Jim Mayer wrote on Thu, 20 October 2011 11:38|
A possible WindowBuilder enhancement would be to allow a little more customization of the "initDataBindings" invocation. The current system has an option to generate or not generate the call. If we generalized that to providing the actual invocation text, then we could specify something like:
if (! Beans.isDesignTime()) initDataBindings();
Such a mechanism could be rolled out as a replacement for, or an adjunct to, the current customization options. It would certainly be convenient for us.
Would there ever be a reason not to generate it that way? If not, I would suggest proposing a permanent change to the code gen (and supply a patch, if you like) on Bugzilla. I certainly don't object to a permanent code gen change like that.
Powered by FUDForum
. Page generated in 0.03663 seconds