[Q] Browser-Model interaction wrt stepping

Ned Konz ned at bike-nomad.com
Tue Jul 1 18:57:29 UTC 2003


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.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list