[squeak-dev] MorphicProject subclass: #EtoysProject
H. Hirzel
hannes.hirzel at gmail.com
Mon Oct 9 18:46:17 UTC 2017
UPDATE
-------------
With the changes discussed so far I can load three Etoys projects so
far into a Squeak 6.0a image.
Immediate problems so far (there will be more):
1. All the loaded Etoys projects do not have an Etoys navigation bar
2. The loaded Etoys projects have an entry #aboutToLeaveWorld in the
actionMap which
triggers a deprectated method #removeModalWindow.
Regular MorphicProjects have an empty actionMap.
We have not decided yet where to put
Project current world actionMap removeKey: #aboutToLeaveWorld
(Discussion in thread
'PasteUpMorph>>#removeModalWindow has been deprecated --- what do
we need to do?')
3. Not all projects from http://squeakland.org/tutorials/demos/ load.
4. We have to implement the class change from
MultiNewParagraph to NewParagraph
A method
#multiNewParagraphttfclpomsswfpp0
should do the job.
See discussion in thread 'EToys-nice.292.mcz'
Hannes Hirzel
On 10/9/17, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> When I choose
>
> After successful loading of I choose
>
> 'World menu' -> 'previous project'
>
> I get an error message.
>
> PasteUpMorph>>#removeModalWindow has been deprecated. The global
> becomeModal is no longer supported, use e.g. a dialog window
>
>
> Reason for this is that in the Etoys project I have as actionMap
>
>
> Project current world actionMap printString
>
> 'an IdentityDictionary(#aboutToLeaveWorld ->
> WeakMessageSend(#removeModalWindow ->
> a
> PasteUpMorph<world>(2880695) [world]
> )
> )'
>
> See detailed analysis in the thread 'PasteUpMorph>>#removeModalWindow
> has been deprecated --- what do we need to do?'
>
>
> So if I do
> Project current world actionMap removeKey: #aboutToLeaveWorld
>
> in a workspace in the EtoysProject before choosing the menu entry
> 'previous project', I do not get the error message.
>
> Result see screen shot. The question is now to find the proper place
> for removing this actionMap entry
>
> --Hannes
>
> On 10/9/17, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>> On 10/9/17, David T. Lewis <lewis at mail.msen.com> wrote:
>>> On Mon, Oct 09, 2017 at 12:05:16AM +0200, H. Hirzel wrote:
>>>> On 10/8/17, David T. Lewis <lewis at mail.msen.com> wrote:
>>>> >
>>>> > Is that initial project available as a *.pr file, or on a web site?
>>>>
>>>>
>>>> You simply drop it in. E.g. download this project
>>>> http://etoys.laptop.org/src/Content/ExampleEtoys/CarAndPen.014.pr
>>>>
>>>> Link given by Bert F.
>>>>
>>>
>>> Well d'oh! I did not realize it was the same project, sorry.
>>>
>>> I did warn you I was an Etoys newbie ;-)
>>>
>>> Thanks,
>>> Dave
>>
>>
>> There are more example projects here
>> http://squeakland.org/tutorials/demos/
>>
>> With the changes discussed so far in this thread the following
>> projects loads fine as well (screen shot)
>>
>> http://squeakland.org/content/articles/attach/FollowRoad.012.pr
>>
>> However if you start clicking for example on the 'turn by' parameter you
>> get
>>
>>
>>
>>
>> SmalltalkImage>>#associationAt:ifAbsent: has been deprecated. Use
>> Smalltalk globals
>>
>> Select Proceed to continue, or close this window to cancel the operation.
>>
>> But these are easy fixes.....
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EtoysProjects_dropped_into_Squeak6.0a_2017-10-09.png
Type: image/png
Size: 108004 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171009/8f5a0afa/attachment-0001.png>
More information about the Squeak-dev
mailing list
|