17 May 20:24
Re: Re: Easy way to override a method?
From: Matthew Fulmer <tapplek <at> gmail.com>
Subject: Re: Re: Easy way to override a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-17 18:24:44 GMT
Subject: Re: Re: Easy way to override a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-17 18:24:44 GMT
On Sat, May 17, 2008 at 12:26:50PM +0000, Tim M wrote: > Hi Herbert, > >> if I don't misunderstand you, you just redefine it in your subclass? > > Yes but its a nuisance to copy the method signature, click on the class > below, click on a method (or the as yes undefined category), and then paste > the signature and then enter by override. > > I was hoping that there was something like in dolphin - browse my subclass > but enable show inherited methods - select the inehrited method, right > click and pick Refactoring | Override - this then does then creates me a > template that overrides. to show a class with some of it's inherited methods, use the protocol browser (select a class, and alt-P). When you save a method in the protocol browser, it asks you which class to save it under, if I remember correctly. -- -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
RSS Feed