[squeak-dev] Re: Polymorph in a trunk image

Gary Chambers gazzaguru2 at btinternet.com
Tue Sep 22 09:32:23 UTC 2009


I don't think there ever were any direct class refs to PSToolBuilder... 
check ToolBuilder class>>default as to why.

Regards, Gary

----- Original Message ----- 
From: "Ronald Spengler" <ron.spengler at gmail.com>
To: "The general-purpose Squeak developers list" 
<squeak-dev at lists.squeakfoundation.org>
Sent: Saturday, September 19, 2009 10:29 AM
Subject: Re: [squeak-dev] Re: Polymorph in a trunk image


Here's some irony: after a night of hacking the fat out of Polymorph,
PSToolBuilder no longer has any class refs.

On Sat, Sep 19, 2009 at 12:10 AM, Andreas Raab <andreas.raab at gmx.de> wrote:
> Ronald Spengler wrote:
>>
>> Awesome! Yeah, that fixes the bug.
>>
>> It looks like we have a subclass of ToolBuilder doing some of the
>> lifting in Polymorph. Is there any documentation / mailing list
>> threads / etc that I might go-to before sending mail to the list other
>> than?
>
> Nope. This is the place ;-)
>
> Cheers,
> - Andreas
>
>>
>> http://wiki.squeak.org/squeak/5607
>>
>> On Fri, Sep 18, 2009 at 11:30 PM, Andreas Raab <andreas.raab at gmx.de>
>> wrote:
>>>
>>> Ronald Spengler wrote:
>>>>
>>>> Polymorph-ToolBuilder-Morphic introduces
>>>> PSToolBuilder>>buildPluggableWindow:
>>>>
>>>> This does has one sender, PluggableWindowSpec>>buildWith:
>>>>
>>>> Removing PSToolBuilder>>buildPluggableWindow: makes the browser open
>>>> to a proper size again.
>>>
>>> Ah, now it's getting clear. Here is what you need to add to 
>>> PSToolBuilder
>>> to
>>> fix things:
>>>
>>> widget bounds: (RealEstateAgent
>>> initialFrameFor: widget
>>> initialExtent: (aSpec extent ifNil:[widget initialExtent])
>>> world: self currentWorld).
>>>
>>> The method in Squeak is time stamped 7/28/2009 so very recent (which
>>> explains why I had seen the problem before).
>>>
>>> Cheers,
>>> - Andreas
>>>
>>>
>>
>>
>>
>
>
>



-- 
Ron




More information about the Squeak-dev mailing list