17 May 14:36
Re: Re: Easy way to override a method?
From: Giovanni Corriga <giovanni <at> corriga.net>
Subject: Re: Re: Easy way to override a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-17 12:36:10 GMT
Subject: Re: Re: Easy way to override a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-17 12:36:10 GMT
Tim M ha scritto: > 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. Using eCompletion, if you know which method to override you can simply start typing the first few letters of the selector, then press CTRL+space and select the method from the popup window. Giovanni
RSS Feed