[squeak-dev] MorphicProject subclass: #EtoysProject
hannes.hirzel at gmail.com
Mon Oct 9 18:46:17 UTC 2017
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
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
should do the job.
See discussion in thread 'EToys-nice.292.mcz'
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 ->
> 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
> 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
>>>> 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 ;-)
>> There are more example projects here
>> With the changes discussed so far in this thread the following
>> projects loads fine as well (screen shot)
>> However if you start clicking for example on the 'turn by' parameter you
>> 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...
Size: 108004 bytes
Desc: not available
More information about the Squeak-dev