[ENH] MethodAutoCategorization-nk

Ned Konz ned at bike-nomad.com
Wed Feb 14 20:58:19 UTC 2001


Well, the response was positive, so I went all out with this.

"Change Set:		MethodAutoCategorization-nk
Date:			14 February 2001
Author:			Ned Konz

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: 2749 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010214/a336f28c/MethodAutoCategorization-nk.cs.obj


More information about the Squeak-dev mailing list