PackageDescription: RBHierarchicalMethods
RB Hierarchical MethodsLast published: February 6, 2012 by 'chaider'
Defines 0 Classes
Extends 6 Classes
Orders and indents method lists according to the class hierarchy.
The alphabetically sorted methods of each class are ordered by
1. class methods
2. instance methods
3. class variable initializers.
At last, all namespace variable initializers are listed.
Implementation
The code depends only on the refactoring browser and should run in a vanilla visual.im.
It is faster than the original :-). The UI opening code for large lists is about 40% faster.
No overrides were necessary!
To be compatible to older versions (tested VW 7.4.1) and other dialects,
I did not used new features of VW like symbols as blocks or in-place sorting,
Examples
| mc filter |
mc := MethodCollector new.
filter := mc implementorsOf: #new.
mc browseSelect: filter
(Refactory.Browser.BrowserEnvironment new implementorsOf: #new) openEditor
| mc filter |
mc := MethodCollector new.
filter := mc referencesTo: #new.
mc browseSelect: filter
(Refactory.Browser.BrowserEnvironment new referencesTo: #new) openEditor