Auto Generation of Getters/Setters
Todd Nathan
todd.nospamski. at palomablanca.net
Wed Nov 17 23:50:08 UTC 1999
How about that Squeak! I mean you guys rule. check this out
Preferences enable: #autoAccessors
Preferences openPreferencesInspector.
Making sure there is a autoAccessors Association and then you
get more than you bargained for. You folks are incredible!
\t
> From: Scott Wallace <Scott.Wallace at disney.com>
> Date: 1999-11-17 16:43:15 -0700
> To: squeak at cs.uiuc.edu
> Subject: Re: Auto Generation of Getters/Setters
>
> At 8:06 PM -0300 11/17/99, Gerardo Richarte wrote:
> > it's included in base Squeak. You just have to add a key named
> >#autoAccessors to Preferences and set it to true. How to do it (don't
> >know a better way)
> >
> > Preferences Cmd-i (inspect it)
> >
> > in the lower pane type
> > FlagDictionary Cmd-i (inspect it)
> >
> > now you'll be inspecting the Dicionary with all the
preferences, add a
> >key named #autoAccessors to it, the select that key and set it's value
> >to true (replace nil on the left pane with true and press Cmd-s)
>
>
> Easier still is simply to evaluate:
>
> Preferences enable: #autoAccessors
>
> -- Scott
>
>
More information about the Squeak-dev
mailing list
|