[ENH] MethodAutoCategorization-nk (fix to prior version)
Ned Konz
ned at bike-nomad.com
Thu Feb 22 08:15:42 UTC 2001
This fixes a problem with my prior version that could cause ghost method
entries to appear in subclasses when you turned on the
"auto-recategorize
subclasses" preference.
from preamble:
"Change Set: MethodAutoCategorization-nk
Date: 22 February 2001
Author: Ned Konz
22 Feb: fixed problem with making empty method entries if you turned
on auto-categorization in subclasses.
Adds these three choices to the Browser message category list menu:
* categorize all uncategorized
Assign categories to all of my uncategorized methods by looking through
my superclasses.
* categorize from superclasses
Assign or change categories to some or all of my methods by looking
through my superclasses. Do not change a category if none of my
superclasses defines a category.
* recategorize all
Recategorize all methods that are categorized in my superclasses; leave
the rest as uncategorized.
Also adds two Preferences settings for browsing:
* automaticallyCategorizeMethods
If set, new methods will be given categories from their superclasses
* categorizeSubclasses
If set, changing a method category will change the category of the same
method in subclasses
Also adds these two utility methods to SystemDictionary:
* Smalltalk categorizeAllUncategorized
For every class and metaclass in the system, classify as-yet
unclassified methods based on their superclass
* Smalltalk categorizeAllFromSuperclasses
For every class and metaclass in the system, classify inconsistently
classified methods based on their superclass
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MethodAutoCategorization-nk.cs.gz
Type: application/octet-stream
Size: 2824 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010222/63edc969/MethodAutoCategorization-nk.cs.obj
More information about the Squeak-dev
mailing list
|