Is there a program to generate an all classes tree chart?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there a program to generate an all classes tree chart?

albertlee
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?

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Is there a program to generate an all classes tree chart?

Edgar J. De Cleene



El 11/3/08 11:34 PM, "Albert Lee" <[hidden email]> 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


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Is there a program to generate an all classes tree chart?

Yoshiki Ohshima-2
In reply to this post by albertlee
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
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Is there a program to generate an all classes tree chart?

albertlee
I have found this:

Object printHierarchy



2008/11/5 Yoshiki Ohshima <[hidden email]>:

> 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
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners