I would add the following:

==========================

To handle this event a morph should override one of these methods:

#acceptDroppingMorph:event:
#justDroppedInto:event:

Additionaly, a morph can specify if it wants to accept a dropped morph by
overriding #wantsDroppedMorph:event:. Symmetrically, the morph being dropped
can specify if it wants to be dropped in another morph by
overriding #wantsToBeDroppedInto:.
Note that for a successful drop operation both parties need to agree.


On Mon, Mar 7, 2011 at 2:38 PM, laurent laffont
<[email protected]>wrote:

> Today:  DropEvent
>
>
> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
>
> Laurent
>

Reply via email to