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
Thank you for your report. I have transferred your report to Squeak's Mantis Database and you can followup on the issue if desired by going to http://bugs.impara.de/view.php?id=1042 .
In the future please report new issues on Squeak's Mantis Database at http://bugs.impara.de/ .
Thanks!
On Sun, 2005-04-03 at 15:19 +0200, Alain Plantec wrote:
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
squeak-dev@lists.squeakfoundation.org