On Jan 18, 2012, at 9:30 PM, Lukas Renggli wrote:
On 18 January 2012 21:15, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Ok I see I should select the variable but if I select the class I do not need to see superclass variables because I should not been able to push them.
I find it convenient to be able to push up any variable in the hierarchy from any subclass ... So this is intentional.
Ok I see so this is push from your place to superclass. What I got is that doing a pull and after the inverse the class var was lost. I did not try to reproduce it but I added at end.
BTW I thought about one cool refactoring this is push as subclassResponsibility :).
Refactor class > Realize
I would call it abstractize because in general I have the concrete method. and Realize does not says that.
Lukas
-- Lukas Renggli www.lukas-renggli.ch