[squeak-dev] Re: Object>>launchPartVia:label:

Ronald Spengler ron.spengler at gmail.com
Tue Sep 8 00:33:59 UTC 2009


Object>>launchPartVia: has no senders. I removed it. In the inbox:
Kernel-rss.246

On Mon, Sep 7, 2009 at 5:16 PM, Ronald Spengler <ron.spengler at gmail.com>wrote:

> Looking at this method, I don't really see why it needs to be on Object
> (feels like if it goes anywhere it should be on Morph.)
>
> It has three senders in my trunk image, and one of them is mine:
>
> IconicButton, PartsBin, and my own Pointy.
>
> I decided to follow the rabbit down the hole and move the method from
> Object to Morph; after that the object palette and my own class (which uses
> IconicButtons to do more less what the object palette does) started saying
> the method wasn't found on Object's class side.
>
> I sense metaprogramming, but I haven't figured out where it's happening. As
> an experiment, I moved the method over to the class side of Morph, and
> voila, everything works.
>
> I am not sure if I'm doing something terribly wrong with this, so please
> apply with caution.
>
> In the inbox:
>
> Morphic-rss.173
> Kernel-rss.245
>
> Which would be applied in that order. If this actually works out for folks,
> I may also try moving #launchPartVia: out too.
>
> --
> Ron
>



-- 
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090907/992bf2e6/attachment.htm


More information about the Squeak-dev mailing list