[Q] handling mouse events (many questions)

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Apr 19 08:26:12 UTC 2002

On 18 Apr 2002, Martin Drautzburg wrote:

> Ned Konz <ned at bike-nomad.com> writes:
> > To make event handling pluggable.
> Pluggable means you can change the behavior at "runtime", right ?

Yes, although that's only an additional benefit. Most of the time the 
behavior is initialized once and not changed thereafter.

In a general sense, "pluggable" means you don't have to code a new class
to achieve some specialized behaviour, but rather an existing class can be
parameterized to suit your needs. This helps keeping class hierarchies
shallow - IIRC when Dan refactored the UI classes (lists, buttons, etc.)
there were 30 classes removed.

-- Bert

More information about the Squeak-dev mailing list