[ENH] Registry
adspitz at yahoo.ca
adspitz at yahoo.ca
Fri Nov 7 01:58:50 UTC 2003
from preamble:
"Change Set: Registry
Date: 6 November 2003
Author: Adam Spitz
This is a very simple class to let us do registries a little bit more
flexibly than the current systems that we use for flaps or the open
menu. A Registry keeps a list of 'pushed' items, and also lets you add
new sources of items - for example, an AnnotatedMethodPuller. Item
sources can be anything that responds to #asArray.
All registries are kept in a dictionary in a class variable, keyed by
the name of the registry, so that people can push items into, say, the
Flaps registry even if the Flaps aren't in the image."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Registry.cs.gz
Type: application/octet-stream
Size: 1009 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031106/3fd79827/Registry.cs.obj
More information about the Squeak-dev
mailing list
|