Proposal for the coming versions
Colin Putney
cputney at wiresong.ca
Wed Mar 15 20:41:10 UTC 2006
On Mar 15, 2006, at 2:44 PM, Andreas Raab wrote:
> Colin Putney wrote:
>> The other aspect to SystemEditor is that it's more flexible than
>> ClassBuilder about migrating instances. It currently has one
>> migration strategy - the standard one that maps values according
>> to ivar names and assigns nil to any new ivars. But other
>> migrators can be used as well. I plan to take advantage of this in
>> Monticello2 with a migrator that can handle class and ivar
>> renames, and of course custom migrators can be built as well. The
>> only thing missing to allow this is a protocol for specifying the
>> migrator to use for a given class.
>
> Remember that migrating instances is really done by the class
> itself via #updateInstancesFrom: and probably shouldn't be
> hardcoded in either ClassBuilder or SystemEditor.
Yeah. SystemEditor doesn't use #updateInstancesFrom: and that's a bit
of a change from the way ClassBuilder works. On the other hand, it's
not hardcoded, as I was explaining in the paragraph above.
More information about the Squeak-dev
mailing list
|