Jan. 31, 2011
10:17 a.m.
I am not sure I understand. As far as I understand, there would be a pool of different instance variables. So, why would there be any subclassing? Cheers, Doru On 31 Jan 2011, at 08:21, Stéphane Ducasse wrote:
The answer of 'Smalltalk tools' should be a tool registry instance.
The tool registry is a system-wide object where packages can register their tools. I don't remember all of the details, but the idea, when i implemented it was following:
- you registering your tool(s) by sending:
Smalltalk tools addTool: myTool verb: #myTool
would be good to have addTool: myTool named: #myTool kind: #codebrowser
so that we can avoid to have one subclass per kind.
Stef
-- www.tudorgirba.com "Being happy is a matter of choice."