[FIX] MorphRemoval-ar-nk

Ned Konz ned at bike-nomad.com
Thu Oct 16 22:04:19 UTC 2003


from preamble:

"Change Set:		MorphRemoval-ar-nk
Date:			16 October 2003
Author:			Andreas Raab
				Ned Konz

16 October (v6) (Ned Konz):
Added removedMorph: notifications to removeAllMorphs and
removeAllMorphsIn:

11 October (Ned Konz):
Restored Genie focus termination logic.
(v5): fixed reverse test that was making invalidation problems (should
remember not to make last-minute changes!!)

23 September (Ned Konz):
Fixed problem with extra #noteNewOwner: notifications.
Fixed problem with addMorph: variants when adding morphs that already
are in submorphs.

This change set fixes various of the issues for getting proper
notifications when adding or removing morphs. What it does:
* Morph>>removeMorph: has been added as a public method to remove a
submorph from some parent (why wasn't this there before???).
* Morph>>privateRemove: just removes the morph from its submorphs and is
NOT intended for casual use (that's what we have #removeMorph: for).
* Morph>>addedMorph: and Morph>>removedMorph: have been introduced for
clients which need to know about adding/removing morphs
* Morph>>addAll: and friends have been updated to adhere to the new
protocols while preserving their optimized implementations.
* Various places have been fixed to use #removeMorph: instead of
#privateRemoveMorph: and to implement the #removedMorph: notification.
* #privateRemoveMorph: as well as #addedOrRemovedSubmorph: have been
deprecated.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MorphRemoval-ar-nk.6.cs.gz
Type: application/octet-stream
Size: 4981 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031016/5ecf26e9/MorphRemoval-ar-nk.6.cs.obj


More information about the Squeak-dev mailing list