[Cuis] PluggableListMorph
KenD
Ken.Dickey at Whidbey.com
Mon Oct 26 17:39:42 CDT 2015
Hi Dan,
Good explanation. I like good explanations. 8)
You might be interested in the code examples in:
http://stackoverflow.com/questions/17082576/implementing-the-observer-pattern-in-smalltalk-visualworks
I would note that the observer pattern discussion might be better served by the more modern #when:send:to: idiom. [E.g. look at when:send:to: senders; Check the TaskBar for simple usage].
In particular, an observer can register for event updates and get a specific message.
IMHO we should rewrite PluggableListMorph to use when:send:to:
$0.02
-KenD
More information about the Cuis
mailing list