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

Easy way to override a method?

by Tim M-4 :: Rate this Message:

Reply to Author | View in Thread

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



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

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

LightInTheBox - Buy quality products at wholesale price