[FIX] DeepCopyModel-rb

RossBoylan at stanfordalumni.org RossBoylan at stanfordalumni.org
Fri Sep 21 00:06:41 UTC 2001


from preamble:

"Change Set:		DeepCopyModel-rb
Date:			20 September 2001
Author:			Ross Boylan

Make deep copies work better with Models.  Based on the code in
Object>>veryDeepCopy for handling dependents.

Note this case is somewhat different.  Here we have the model, whereas
the code in Object looks through registered dependents.

Because dependents of Model subclasses are not publicly registered (with
the DependentFields mechanism) a View that is copied without picking up
the Model in the tree will still require special intervention to get its
dependency noted by the Model."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DeepCopyModel-rb.cs.gz
Type: application/octet-stream
Size: 603 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010920/d4097d64/DeepCopyModel-rb.cs.obj


More information about the Squeak-dev mailing list