Kernel.image update for 7052 and my vision of the next development

Pavel Krivanek squeak1 at continentalbrno.cz
Sun Jul 30 17:22:01 UTC 2006


On 7/30/06, Andreas Raab <andreas.raab at gmx.de> wrote:
> Pavel Krivanek wrote:
> > - extend UIManager to make the kernel independent on UI. It's about 30
> > methods it means to take the current source and create the
> > corresponding code in the MorphicUIManager or MVCUIManager
>
> Ouch. This feels *extremely* wrong to me - you are making a user
> interface abstraction be responsible for the defaults in exception
> handling. Bad choice. What is wrong with the current implementations
> anyway? There is no UI dependency in any of the standard exception
> classes that I find in 3.9 (a few edge cases like
> ProgressInitiationException that don't belong into Kernel discounted).

Every UI wants to answer on exceptions by different way (Morphic wants
to show some dialog during a warning, console may write only some text
without user interaction etc). So somewhere from the exception handler
you have to call UIManager. Do you've got any better design?

-- Pavel



More information about the Squeak-dev mailing list