« Return to Thread: Easy way to override a method?

Re: Re: Easy way to override a method?

by Giovanni Corriga :: Rate this Message:

Reply to Author | View in Thread

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

_______________________________________________
Beginners mailing list
Beginners@...
http://lists.squeakfoundation.org/mailman/listinfo/beginners

 « Return to Thread: Easy way to override a method?