> >  What do you think?
> >
>
> allClassesDo: [:class | class organization setDefaultList: #() ]
>
>
Seems to be more complicated than that. There is a problem with the
notifications....

Now, I added to ClassOrganizer the method

putAllSelectorInDefaultCategory
    self elementArray do: [:each | self classify: each under: self class
default suppressIfDefault: false]

And then I evaluate:

Smalltalk allClassesDo: [:each | each organization
putAllSelectorInDefaultCategory].
Smalltalk allClassesDo: [:each | each organization removeEmptyCategories].
Smalltalk garbageCollect.


That seems to work. I mean, all method of all classes uses the same
category. As it is  a ByteSymbol, there is only one instance. However, after
saving the image, is it is bigger than before evaluating that....

there is of course something I am not understanding. Is there some chapter,
tutorial or link to read about all the ClassOrganizer stuff ?

Thanks

Mariano




> > Cheers
> >
> > Mariano
> >>
> >> > Thanks!
> >> >
> >> > Mariano
> >> >
> >> > _______________________________________________
> >> > Pharo-project mailing list
> >> > [email protected]
> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >> >
> >>
> >>
> >>
> >> --
> >> 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
> >
>
>
>
> --
> 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

Reply via email to