Begin forwarded message:
From: Alain Plantec alain.plantec@univ-brest.fr Date: 3 avril 2005 15:13:51 GMT+02:00 To: Squeak in french / Squeak en français squeak-fr@lists.squeakfoundation.org Subject: [Squeak-fr] [BUG] unimplemented method called from TransferMorph>>justDroppedInto: event: Reply-To: Squeak in french / Squeak en français squeak-fr@lists.squeakfoundation.org
Hy all,
Trying to understand Squeak framework for drag and drop :
From Squeak 3.7 (#5989) and Squeak 3.8
- #dropAcceptedMorph: from: is not implemented anywhere.
- #dropNotifyRecipient: is never send
- #dropNotifyRecipient is only send from
TransferMorph>>justDroppedInto: event: and TransferMorph>>delete
- dropNotifyRecipient TransfertMorph inst var is only writen from
TransfertMorph>>dropNotifyRecipient: and read from TransfertMorph>>dropNotifyRecipient
justDroppedInto: targetMorph event: anEvent "If only world wants this TransferMorph, treat it as unaccepted (see also >>delete)." super justDroppedInto: targetMorph event: anEvent. self halt. accepted := targetMorph ~= self world. self animationForMoveSuccess: accepted. accepted ifTrue: [self dropNotifyRecipient ifNotNil: [self dropNotifyRecipient dropAcceptedMorph: self from: targetMorph]]. self delete
alain _______________________________________________ Squeak-fr mailing list Squeak-fr@lists.squeakfoundation.org http://lists.squeakfoundation.org/listinfo/squeak-fr
squeak-dev@lists.squeakfoundation.org