[squeak-dev] MorphicProject subclass: #EtoysProject

David T. Lewis lewis at mail.msen.com
Sun Oct 8 21:28:59 UTC 2017


When it comes to things like UI themes and many of the global user preferences,
I suspect we need to have a policy of "the usual rules do not apply here" once
we enter into Etoys.

Dave

On Sun, Oct 08, 2017 at 10:46:12PM +0200, H. Hirzel wrote:
> A "fix" which works is just to ignore the deprecation message by
> putting comment quotes around it.
> 
> Besides the fix not being nice I doubt that that returning from a sub
> EtoysProject should give this result -- the ProjectViewMorph of the
> subproject should probably not be shown.
> 
> --Hannes
> 
> 
> On 10/8/17, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> > We have
> >
> > ----------------------------------
> > Project class
> > ----------------------------------
> >
> > returnToPreviousProject
> > 	"Return to the project from which this project was entered. Do
> > nothing if the current project has no link to its previous project."
> >
> > 	| prevProj |
> > 	prevProj := CurrentProject previousProject.
> > 	prevProj ifNotNil: [prevProj enter: true revert: false saveForRevert:
> > false].
> >
> >
> >
> > ---------------------
> > MorphicProject(Project)
> >
> > enter: returningFlag revert: revertFlag saveForRevert: saveForRevert
> > 	"Install my ChangeSet, Transcript, and scheduled views as current
> > globals. If returningFlag is true, we will return to the project from
> > whence the current project was entered; don't change its
> > previousProject link in this case.
> > 	If saveForRevert is true, save the ImageSegment of the project being left.
> > 	If revertFlag is true, make stubs for the world of the project being left.
> > 	If revertWithoutAsking is true in the project being left, then always
> > revert."
> >
> > ......
> > CurrentProject world triggerEvent: #aboutToLeaveWorld.
> > .....
> >
> >
> > ----------------
> >
> > PasteUpMorph
> > --------------------
> >
> > triggerEvent: anEventSelector
> > 	"Evaluate all actions registered for <anEventSelector>. Return the
> > value of the last registered action."
> >
> >     ^(self actionForEvent: anEventSelector) value
> >
> >
> > ------------------------
> > PasteUpMorph
> > ------------------------
> >
> >
> > removeModalWindow
> > 	self deprecated: 'The global becomeModal is no longer supported, use
> > e.g. a dialog window'.
> > 	"self modalWindow: nil"
> >
> >
> >
> > I do not know what the issue is here about a modalWindow. Which modal
> > window?
> >
> >
> > --Hannes
> >
> > On 10/8/17, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> >> Next thing to look into.
> >>
> >> If I hit the 'previous project' navigation button I get
> >>
> >>
> >> PasteUpMorph>>#removeModalWindow has been deprecated. The global
> >> becomeModal is no longer supported, use e.g. a dialog window
> >>
> >> Select Proceed to continue, or close this window to cancel the operation.
> >>
> >>
> >> see screen shot.
> >>
> >


> 



More information about the Squeak-dev mailing list