Feb. 21, 2017
4:43 p.m.
On 21/02/2017 17:29, Raffaello Giulietti wrote:
Hi Cyril,
doesn't seem to work in my case.
Just for fun, I try to set a class instance variable to Time current in the class-side #startUp method and quit the image with saving. Upon restarting the image, the class instance variable is still nil.
Anything else I have to ensure?
As Sven said I forgot that you need to register your class. You can add this in the class side on Pharo 5-6: "protocol: class initialization" initialize super initialize. SessionManager default registerToolClassNamed: self name -- Cyril Ferlicot http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France