Starting with MorphicWrappers (was Re: Morphic Graphs & MorphicWrappers)

Leandro Caniglia caniglia at dm.uba.ar
Sat Nov 7 07:16:09 UTC 1998


Try filingIn MorphicWrappers from the MVC side of Squeak. Once they are in
the image, any Morphic World or Project will start as a WrapperWoldMorph. No
other special action is required for MorphicWrappers to work.

Saludos,
Leandro

PS: Please, let me know the result!


-----Original Message-----
From: Daniel Vainsencher <danielv at netvision.net.il>
To: squeak at cs.uiuc.edu <squeak at cs.uiuc.edu>
Date: Friday, November 06, 1998 3:09 PM
Subject: Starting with MorphicWrappers (was Re: Morphic Graphs &
MorphicWrappers)


>I highly recommend that you start by reading MorphicWrapper's comment.
>It includes links to some very instructive demos....
>
>As to your specific problem,
>It seems that you attempted to use MWs on a WorldMorph -
>you should use WrapperWorldMorph instead.
>
>That is a subclass with various added facilities (it can remember variables
>
>like a workspace, in the inst variable bindings, and it has a history of
>messages you've type, in inst var history, for example).
>
>If the problem persists, please mail me the details of what you were doing,
>
>I'll be glad to help.
>
>Jochen Schneider wrote:
>
>> Hi,
>>
>> I tried the MorphicWrappers both at http://www.dm.uba.ar/MathMorphs and
>> at http://www.sugarweb.com/, but neither of them worked for me under
>> Squeak 2.2 with update 372.
>>
>> The error that gets reported is that WorldMorph doesn't understand
>> "bindings":
>>
>> WorldMorph(Object)>>doesNotUnderstand:
>> ClassWrapper(MorphicWrapper)>>bindings
>> ClassWrapper(MorphicWrapper)>>names
>> ClassWrapper>>updateBalloon
>> ClassWrapper(SimpleMorphicWrapper)>>step
>> [] in WorldMorph>>runStepMethods
>> OrderedCollection>>do:
>> WorldMorph>>runStepMethods
>> WorldMorph>>doOneCycleNow
>> WorldMorph>>doOneCycle
>>
>> It looks like "bindings" should be sent to the wrapper of the world
>> instead of the world itself, but that's just a first guess (especially
>> considering that you can't ask an object for its wrapper).
>>
>> Can I download the correct version of MorphicWrappers somewhere?
>>
>>         Jochen
>
>





More information about the Squeak-dev mailing list