learning smalltalk, and get some idea of Metaclass and reflective. we can use subclasses or allSubclasses to list a Class' subclass, and then, we can generate the inherit tree.
so, is there any existing program to generate this chart?
El 11/3/08 11:34 PM, "Albert Lee" hanzhupeng@gmail.com escribió:
learning smalltalk, and get some idea of Metaclass and reflective.
we can use
subclasses or allSubclasses to list a Class' subclass, and
then, we can
generate the inherit tree.
so, is there any existing program to generate this
chart?
I advice you could use Graphviz. I have a collection of .svg diagrams of the Morphic part, Nebraska, Movies , coming from 3.10 and 3.11 refactoring experience.
Edgar
On Tue, Nov 04, 2008 at 10:34:53AM +0800, Albert Lee wrote:
learning smalltalk, and get some idea of Metaclass and reflective. we can use subclasses or allSubclasses to list a Class' subclass, and then, we can generate the inherit tree.
so, is there any existing program to generate this chart?
You can use the heiarchy browser: press the heiarchy button in the browser. Or, to get a textual version, click the ? button in the browser twice.
OmniBrowser Extensions has some other ways to view or visualize it, including, I think, something graphical. I don't know how to see or use them
At Tue, 4 Nov 2008 10:34:53 +0800, Albert Lee wrote:
[1 <text/plain; UTF-8 (base64)>] learning smalltalk, and get some idea of Metaclass and reflective. we can use subclasses or allSubclasses to list a Class' subclass, and then, we can generate the inherit tree.
so, is there any existing program to generate this chart?
1. Open System Browser. 2. Select Object, or select Class. 3. Click on the ? mark between "instance" and "class". 4. Click on the ? mark between "instance" and "class" one more time.
and you see the hierarchical view of the classes below it (and above it up to ProtoObject).
-- Yoshiki
I have found this:
Object printHierarchy
2008/11/5 Yoshiki Ohshima yoshiki@vpri.org:
At Tue, 4 Nov 2008 10:34:53 +0800, Albert Lee wrote:
[1 <text/plain; UTF-8 (base64)>] learning smalltalk, and get some idea of Metaclass and reflective. we can use subclasses or allSubclasses to list a Class' subclass, and then, we can generate the inherit tree.
so, is there any existing program to generate this chart?
- Open System Browser.
- Select Object, or select Class.
- Click on the ? mark between "instance" and "class".
- Click on the ? mark between "instance" and "class" one more time.
and you see the hierarchical view of the classes below it (and above it up to ProtoObject).
-- Yoshiki _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org