so what is the fix? I would really like to get announcement instead of event systemNotification but I'm sure that this can be a bit tricky.
Stef On Oct 26, 2009, at 2:59 AM, Igor Stasenko wrote: > On top of that, i found annoying, that ClassOrganizer sends > notifications using SystemNotification. > While , IMO best place and only place where notifications should be > sent from - is a class. > > A simple consistency check: > > | uncategorized | > uncategorized := IdentityDictionary new. > > ClassDescription allSubInstances do: [:behavior | | invalidSels | > invalidSels := behavior methodDict keys select: [:selector | > (behavior organization categoryOfElement: selector) isNil ]. > invalidSels ifNotEmpty: [ uncategorized at: behavior put: > invalidSels] > ]. > uncategorized > > > shows that , there is no uncategorized selectors for all classes in > system, i.e. things like: > Object organization categoryOfElement: #jjj => nil > > Then i did a little experiment: > added the #blabla method to Object class, and then did > > Object organization removeElement: #blabla > > and now the consistency check above shows me that method is still in > class, > while not present in categorizer. > > A browser behaves interestingly in this case: > - it lists this method only if you selecting '-- all --' > metacategory. > > > > -- > Best regards, > Igor Stasenko AKA sig. > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
