Brian Rice wrote:
It's time for me to backtrack again - I was wrong about this in the general sense. There *is* a Dictionary mapping widgets to outputs. More specifically, it maps the names of widgets to outputs, which is good enough, and accessible via widgetAt:(ifAbsent:). I missed this because the abstract ToolBuilder class doesn't have a dictionary instvar, just the protocol, even if all concrete subclasses use it. Also, there is no code making use of this feature, but it works fine.
If you want to push this up to ToolBuilder, feel free to send me a patch. Or even easier, get yourself an account on squeaksource.com and I'll add you as another developer.
I am approaching the point where I may be able to write an article about the use of ToolBuilder, probably on Squeak People or I may blog it elsewhere.
That'd be very nice.
Cheers, - Andreas