17 May 03:21
Easy way to override a method?
From: Tim M <365nice <at> gmail.com>
Subject: Easy way to override a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-17 01:22:22 GMT
Subject: Easy way to override a method?
Newsgroups: gmane.comp.lang.smalltalk.squeak.beginners
Date: 2008-05-17 01:22:22 GMT
Is there an easy way in Squeak to override a method? I have created a subclass of a class, and am viewing my subclass in a hierarchy browser. I have clicked on the superclass in the browser and am browsing methods to see what I need to override. Having discovered a method that I want to override - I was hoping I could right click on that method and select Refactor|Override - but its not there (it is in Dolphin). Failing this I tried drag and drop - but that seems to just move the method (I held the Control key while dragging but I guess thats a Dolphin and a windows thing). Is there some way to easily and quickly do this without having to cut and paste? Tim
RSS Feed