[UI] ToolBuilder

Gary Chambers gazzaguru2 at btinternet.com
Wed Sep 12 15:28:33 UTC 2007


I expect supporting the scrolling would have been more work and not benefit
from improvements to the ScrollPane class. Delegation "should" have looked
straightforward... Better to compose than rewrite with potential
inconsitencies!

Don't get me wrong, PluggableTextMorph is quite horrible!

> -----Original Message-----
> From: ui-bounces at lists.squeakfoundation.org 
> [mailto:ui-bounces at lists.squeakfoundation.org] On Behalf Of 
> Igor Stasenko
> Sent: 12 September 2007 2:45 pm
> To: Squeak's User Interface
> Subject: Re: [UI] ToolBuilder
> 
> 
> On 12/09/2007, Gary Chambers <gazzaguru2 at btinternet.com> wrote:
> > Is because TextMorph doesn't support scrolling... so 
> > PluggableTextMorph inherits from ScrollPane with a TextMorph as the 
> > content.
> >
> 
> I'm still not convinced, why making subclass with scrolling 
> capabilities is worser than create delegation? I doubt that 
> amount of code needed to add scrolling support can be more 
> than adding delegation.
> 
> 
> > > -----Original Message-----
> > > From: ui-bounces at lists.squeakfoundation.org
> > > [mailto:ui-bounces at lists.squeakfoundation.org]On Behalf Of Igor 
> > > Stasenko
> > > Sent: 11 September 2007 5:21 PM
> > > To: Squeak's User Interface
> > > Subject: Re: [UI] ToolBuilder
> > >
> > >
> > > On 11/09/2007, Gary Chambers <gazzaguru2 at btinternet.com> wrote:
> > > > Good job that PluggableTextMorph delegates much of its work to
> > > its TextMorph (and then Paragraph) otherwise would indeed be 
> > > massive!
> > >
> > > Looking a strange for me.. Text morph delegating to text morph? I 
> > > don't know what intent was to make it, but maybe 
> subclassing instead 
> > > of delegation would be better?
> > >
> > > >
> > > > > Best regards,
> > > > > Igor Stasenko AKA sig. 
> > > > > _______________________________________________
> > > > > UI mailing list
> > > > > UI at lists.squeakfoundation.org
> > > > >
> >
> > _______________________________________________
> > UI mailing list
> > UI at lists.squeakfoundation.org 
> > http://lists.squeakfoundation.org/mailman/listinfo/ui
> >
> 
> 
> -- 
> Best regards,
> Igor Stasenko AKA sig. _______________________________________________
> UI mailing list
> UI at lists.squeakfoundation.org 
> http://lists.squeakfoundation.org/mailman/listinfo/ui
> 



More information about the UI mailing list