+1 This also will permit to redirect all the messages like inform and progress bars to log files, instead than ui windows. This would be analog to the work Dale did for the Metacello "silent" way of installing. Cheers El vie, 03-12-2010 a las 18:41 -0300, Esteban Lorenzano escribió:
+1
El 03/12/2010, a las 6:25p.m., Igor Stasenko escribió:
On 3 December 2010 21:47, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
I was reading the change of benjmain to deprecate notifyWithLabel: aString from Object. Yes!
Now he was putting it on ToolSet and I thought that I would have put it on UIManager. Now the relationship and responsibility of this two classes are not clear to me. Does anybody a clear thought on that?
they are related but still a bit different. a toolset provides an access to standard system tools like browser, inspector debugger etc. while UI manager provides an access to things like inform:, progress bars etc
My proposal remains same as before. i proposed to unify this API and use idioms like:
Smalltalk tools browser openOn: aClass
as well as
Smalltalk ui inform: 'you banned'
so, then we don't need to have a distinct classes, but instead a roles, like 'tools' , 'ui', 'browser' which should support corresponding protocol.
Stef
-- Best regards, Igor Stasenko AKA sig.
-- Miguel Cobá http://twitter.com/MiguelCobaMtz http://miguel.leugim.com.mx