[Q] Browser-Model interaction wrt stepping

Brian Brown rbb at techgame.net
Tue Jul 1 20:31:31 UTC 2003


On Tuesday 01 July 2003 12:57 pm, Ned Konz wrote:
> On Tuesday 01 July 2003 11:52 am, Brian Brown wrote:
> > I've got a subclass of PackagePaneBrowser, which is the model in a
> > SystemWindow... I would like to the stepping mechanism in that
> > SystemWindow send a message to the model, but I can't override the
> > methods in SystemWindow, as I am a derived from Model, not
> > SystemWindow (which is from MorphicModel...)
>
> You don't have to be a Morph to use stepping here.
>
> Just override #stepIn: in your model subclass.
>
> Note that CodeHolder already has a definition of this method.

Thanks Ned, that does it! (.. and I read a boatload of method defs up the 
hierarchy... never saw that one)

Brian



More information about the Squeak-dev mailing list