[UI] ToolBuilder

Igor Stasenko siguctua at gmail.com
Wed Sep 12 13:44:40 UTC 2007


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.


More information about the UI mailing list