Auto Generation of Getters/Setters
David N. Smith (IBM)
dnsmith at watson.ibm.com
Thu Nov 18 01:28:05 UTC 1999
At 15:41 -0800 11/17/99, Scott Wallace wrote:
>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
Gee, didn't I just see a Preferences menu someplace... :-)
Dave
_______________________________
David N. Smith
IBM T J Watson Research Center
Hawthorne, NY
_______________________________
Any opinions or recommendations
herein are those of the author
and not of his employer.
More information about the Squeak-dev
mailing list
|