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

Reply via email to