On 2013-09-21, at 14:35, Erwan Douaille <[email protected]> wrote:

> Since UIPainter, example aren't needed :p
> 
> Another way, than i like, is create a method for a model.
> 
> Class>>listModel
>  listModel ifNil: [ listModel := self instantiate: ListModel. and options
> ].
> ^ listModel
> 
> And do nothing in initializeWidgets

yeah I saw that you did that for the InspectorToolbar and I like this approach 
since you 
group all the settings for a specific widget in a single method.

I remember vaguely that the UI framework under NetBeans did these kind of 
methods in Java...

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to