more MVC questions

Preston Briggs preston at tera.tera.com
Thu Feb 12 22:51:51 UTC 1998


> ----------------------------------------------------------------------
> [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread
> Index]
> 
> Re: more MVC questions
> 
> ----------------------------------------------------------------------
> 
>    * To: squeak at cs.uiuc.edu
>    * Subject: Re: more MVC questions
>    * From: Andreas Raab <raab at isgnw.cs.Uni-Magdeburg.DE>
>    * Date: Thu, 12 Feb 1998 23:10:53 +0100 (MEZ)
>    * In-Reply-To: <199802122143.NAA19217 at oomph.tera.com> from "Preston
>      Briggs" at Feb 12, 98 01:43:15 pm
>    * Reply-To: squeak at cs.uiuc.edu
>    * Resent-Cc: recipient list not shown: ;
>    * Resent-Date: 12 Feb 1998 22:11:14 -0000
>    * Resent-From: squeak at cs.uiuc.edu
>    * Resent-Message-ID: <"uG_rxC.A.lD.yN340"@jerry>
>    * Resent-Sender: squeak-request at cs.uiuc.edu
> 
> ----------------------------------------------------------------------
> 
> > Seems like the data I'm displaying is for display only.
> > I don't want people editing it or executing it.
> > I notice that
> >
> >       TextCollectorView open: label:
> >
> > doesn't return anything, despite the comment.
> 
> It can't return anything since StandardSystemController>>open will
> terminate the current process. In fact, all code run after the call to
> #open:label: will never be executed.

Yeah, I noticed that too.
So, for my running program to throw up a window to display results,
I should create a process to create the windows, at some higher priority
(say userInteruptPriority), resume the process, and start streaming
text to my textCollector?

A little flakey, in that I have no assurance that the view is open
for business before the text arrives.  But I can't control it with
a semaphore because the process is murdered just before it would
signal the semaphore.

Is there a better approach?

Preston





More information about the Squeak-dev mailing list