Sept. 9, 2015
6:27 p.m.
Not yet :) Le 9/9/15 18:18, Peter Uhnák a écrit :
Hi,
is there a mechanism for observing a change of regular variables?
Normally I would use ValueHolder (or fire announcements manually), but this assumes I can change the code.
For example imagine a method of someone else's package ~~~~~~~~~~~~~~~ FAMIXNamedEntity>>name: aString name := aString ~~~~~~~~~~~~~~~
I could simply override the method, but that's very brittle since if I were to update the package it would load the "unmodified" version.
Can I somehow overload the assignment operator? Can I augment methods? Is this even possible?
Thanks, Peter