Novel form of refactoring
Avi Bryant
avi at beta4.com
Fri Oct 24 23:33:45 UTC 2003
Brian T Rice wrote:
>On Fri, 24 Oct 2003, Avi Bryant wrote:
>
>
>>How about this:
>>
>>packageName := 'MyPackage'.
>>methodRef := (PackageInfo named: packageName) methods atRandom.
>>Browser fullOnClass: methodRef actualClass selector: methodRef methodSymbol.
>>
>>Cheers,
>>Avi
>>
>>
>
>That's much better, and a great PackageInfo demo. :-)
>
>Now, what would make a suitable UI hook for this? A context menu entry? If
>so, where?
>
I started putting together a system for registering package-related
services, and a simple package list + context menu UI to demo it. You
can find it at http://beta4.com/mc/packageinfo-dev. I should release
this soon so we can roll it into 3.7, but I'd like people to take a look
and make comments first.
Avi
More information about the Squeak-dev
mailing list
|