Hi. I really don't know how the SystemChangeNotifier works, but wouldn't it send TWO notifications in your example?� one for the class reshape change (the instance variables) and one for the category change ?� is it doing this at least ?



On Tue, Nov 15, 2011 at 4:30 PM, ezequiel lamonica <lamonicaezequiel@gmail.com> wrote:
Hello,

I'm working on Pharo 1.3 in a software content management project and I have
some problems with the SystemChangeNotifier.
I want to get changes between an old class and the new class when I change
its category.
The problem is when I change a category for a class, the
SystemChangeNotifier sends this message:
"class: aClass recategorizedFrom: oldCategory to: newCategory ", but I can't
get the changes on the new class to get the differences between old class
and new class.

For example, I want to get the change of instanceVariableNames in addition
of category change:

I change:

Object subclass: #ClassForTesting
� � � �instanceVariableNames: 'a'
� � � �classVariableNames: 'xx2'
� � � �poolDictionaries: ''
� � � �category: 'OOSCM-ClientImageTest'

TO:

Object subclass: #ClassForTesting
� � � �instanceVariableNames: 'a b c '
� � � �classVariableNames: 'xx2'
� � � �poolDictionaries: ''
� � � �category: 'OOSCM-ClientImageTest2'

Any help?



-----
eze
--
View this message in context: http://forum.world.st/ChangeNotifier-for-recategorize-a-class-tp4073854p4073854.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.




--
Mariano
http://marianopeck.wordpress.com