|
Keith Alcock wrote:
> Does anyone have an implementation of a protected category that works in
> the way that the public and private categories work: mutually exclusive
> and having an special icon, maybe even a yellow circle (with black
> outline)?
Personalised virtual method categories are cool and fun -- I have several --
but from a quick look extending the private/public duality would require you to
replace the existing private and public categories altogether (they "know" that
(private == public not), and probably replace the implementations of
CompiledMethod>>isPublic, etc, too.
Then the method icon is most easily changed by replacing CompiledMethod>>icon.
There don't seem to be any hooks for associating a method's icon in the CHB
with the categories except what's hardwired in that method.
Not a lot of help, I'm afraid, but no one had replied at all... ;-)
-- chris
|