Hi igor

I started to reread again the code of EventModel that we started and I browse 
the rest of the system….
gloops…

DropEvent>>sentTo: anObject
        "Dispatch the receiver into anObject"
        self type == #dropEvent ifTrue:[^anObject handleDropMorph: self].

DropFilesEvent>>sentTo: anObject
        "Dispatch the receiver into anObject"
        self type == #dropFilesEvent ifTrue:[^anObject handleDropFiles: self].

it seems to me that sentTo: is a kind of double dispatch but not yet there.
I do not see here the added value of the check except if this is to cancel 
event. 

Stef

Reply via email to