Is there any way in Squeak to show all the methods inherited by a class?
In Visual Age Smalltalk this can be toggled and it makes it easier when debugging, to work out why things have happened. The methods pane there shows the method name and from which class it is inherited. Where a method occurs in a class and in one of its superclasses, both are shown.
Peter Robin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am Sonntag, 2. Juni 2002 13:27 schrieb Peter Robin:
Is there any way in Squeak to show all the methods inherited by a class?
Hmm.. you can browse the protocol of a class, by pressing alt-p when having selected it. This will show you a list, and in the drop-down thingo on the left you can selet from which class on you want the methods. then you have all the methods your object supports and in the brackets you can see where it is last implemented.
hth,
niko - -- Atlee is a very modest man. And with reason. -- Winston Churchill
squeak-dev@lists.squeakfoundation.org