[Pharo-project] systemChangeNotifier and protocols
From ezequiel lamonica Nov 07, 2011; 10:22am Hello everybody,
I'm trying to find some message in the SystemChangeNotifier to recognize a new protocol added.
I see this instance method in ClassOrganizer:
notifyOfChangedCategoriesFrom: oldCollectionOrNil to: newCollectionOrNil
(self hasSubject and: [oldCollectionOrNil ~= newCollectionOrNil]) ifTrue: [SystemChangeNotifier uniqueInstance classReorganized: self subject].
But, I don't see when the SystemChangeNotifier handles the new protocol and how added it.
Any help?
not from the top of my head. Now I guess you know why we are working (help needed) on SystemAnnouncement to replace changeNotifier with announcement. Stef On Nov 7, 2011, at 4:58 PM, DeNigris Sean wrote:
From ezequiel lamonica Nov 07, 2011; 10:22am
Hello everybody,
I'm trying to find some message in the SystemChangeNotifier to recognize a new protocol added.
I see this instance method in ClassOrganizer:
notifyOfChangedCategoriesFrom: oldCollectionOrNil to: newCollectionOrNil
(self hasSubject and: [oldCollectionOrNil ~= newCollectionOrNil]) ifTrue: [SystemChangeNotifier uniqueInstance classReorganized: self subject].
But, I don't see when the SystemChangeNotifier handles the new protocol and how added it.
Any help?
Thanks Stef. I expect help you on announcements, it's really necessary. 2011/11/7 Stéphane Ducasse <stephane.ducasse@inria.fr>
not from the top of my head. Now I guess you know why we are working (help needed) on SystemAnnouncement to replace changeNotifier with announcement.
Stef
On Nov 7, 2011, at 4:58 PM, DeNigris Sean wrote:
From ezequiel lamonica Nov 07, 2011; 10:22am
Hello everybody,
I'm trying to find some message in the SystemChangeNotifier to recognize a new protocol added.
I see this instance method in ClassOrganizer:
notifyOfChangedCategoriesFrom: oldCollectionOrNil to: newCollectionOrNil
(self hasSubject and: [oldCollectionOrNil ~= newCollectionOrNil]) ifTrue: [SystemChangeNotifier uniqueInstance classReorganized: self subject].
But, I don't see when the SystemChangeNotifier handles the new protocol and how added it.
Any help?
have a look at SystemAnnouncement and their tests in 1.4. We should bullet proof them. Stef
Thanks Stef. I expect help you on announcements, it's really necessary.
2011/11/7 Stéphane Ducasse <stephane.ducasse@inria.fr> not from the top of my head. Now I guess you know why we are working (help needed) on SystemAnnouncement to replace changeNotifier with announcement.
Stef
On Nov 7, 2011, at 4:58 PM, DeNigris Sean wrote:
From ezequiel lamonica Nov 07, 2011; 10:22am
Hello everybody,
I'm trying to find some message in the SystemChangeNotifier to recognize a new protocol added.
I see this instance method in ClassOrganizer:
notifyOfChangedCategoriesFrom: oldCollectionOrNil to: newCollectionOrNil
(self hasSubject and: [oldCollectionOrNil ~= newCollectionOrNil]) ifTrue: [SystemChangeNotifier uniqueInstance classReorganized: self subject].
But, I don't see when the SystemChangeNotifier handles the new protocol and how added it.
Any help?
participants (3)
-
DeNigris Sean -
Ezequiel Lamonica -
Stéphane Ducasse