Class hierarchy diagram

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

Class hierarchy diagram

Sanjay Minni
Is there any way to display the Class Hierarchy as a Diagram or a indented
list. Even for all the classes in a package will do.



-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

cheers,
Sanjay
Reply | Threaded
Open this post in threaded view
|

Re: Class hierarchy diagram

Kasper Osterbye
I believe the browser can do that out of the box. Look below the four panes, above the code, and there is a hierarchical view option.

> Den 31. maj 2020 kl. 16.30 skrev Sanjay Minni <[hidden email]>:
>
> Is there any way to display the Class Hierarchy as a Diagram or a indented
> list. Even for all the classes in a package will do.
>
>
>
> -----
> cheers,
> Sanjay
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>

Reply | Threaded
Open this post in threaded view
|

Re: Class hierarchy diagram

Sanjay Minni
The view in the pane is limited only the current selected class. A diagram of
the overall structure is very useful to understand the system or weed out
stray issues.

Dolphin smalltalk has a Class hierarchy view. I am looking for something
similar.

<http://forum.world.st/file/t368721/Dolphin.jpg>



Kasper Osterbye wrote
> I believe the browser can do that out of the box. Look below the four
> panes, above the code, and there is a hierarchical view option.
>
>> Den 31. maj 2020 kl. 16.30 skrev Sanjay Minni &lt;

> sm@

> &gt;:
>>
>> Is there any way to display the Class Hierarchy as a Diagram or a
>> indented
>> list. Even for all the classes in a package will do.
>>
>>
>>
>> -----
>> cheers,
>> Sanjay
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

cheers,
Sanjay
Reply | Threaded
Open this post in threaded view
|

Re: Class hierarchy diagram

Denis Kudriashov
Hi Sanjay

вс, 31 мая 2020 г. в 16:35, Sanjay Minni <[hidden email]>:
The view in the pane is limited only the current selected class.

You can select multiple classes and switch to hierarchy (Hier. radio). It will show the "composite hierarchy" of selected classes.
 
A diagram of
the overall structure is very useful to understand the system or weed out
stray issues.

We will have a real diagram with Roassal mini integrated. But I don't know what is the the current status. 
Now you need to load it manually. I think it includes the browser integration. But I do not have any instructions for you. 
 

Dolphin smalltalk has a Class hierarchy view. I am looking for something
similar.

<http://forum.world.st/file/t368721/Dolphin.jpg>



Kasper Osterbye wrote
> I believe the browser can do that out of the box. Look below the four
> panes, above the code, and there is a hierarchical view option.
>
>> Den 31. maj 2020 kl. 16.30 skrev Sanjay Minni &lt;

> sm@

> &gt;:
>>
>> Is there any way to display the Class Hierarchy as a Diagram or a
>> indented
>> list. Even for all the classes in a package will do.
>>
>>
>>
>> -----
>> cheers,
>> Sanjay
>> --
>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Class hierarchy diagram

eftomi
With Roassal3 you get a diagram in the browser like this, on the tab "UML-Class" and "UML-Package".


Best wishes,
Tomaz
Reply | Threaded
Open this post in threaded view
|

Re: Class hierarchy diagram

Sanjay Minni
Thanks Tomaz

seems good stuff, functionally more expansive. Let me take a look


eftomi wrote
> With Roassal3 you get a diagram in the browser like this, on the tab
> "UML-Class" and "UML-Package".
>
>
> Best wishes,
> Tomaz
>
> c1buzqwa.png (121K)
> &lt;http://forum.world.st/attachment/5117496/0/c1buzqwa.png&gt;





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

cheers,
Sanjay
Reply | Threaded
Open this post in threaded view
|

Re: Class hierarchy diagram

Sanjay Minni
In reply to this post by eftomi
I really find this (Roassal3) very useful, I have a few queries / requests

In the UML-Package view:
- Why is it that some of the classes in the "UML-Package" view appear as
[<MyClassName> class] and their class side methods are shown and not
instance side
- can we always show class side methods followed by a separator and then
instance side methods. This may not be a standard but it would be useful
- When I hover over a top level class in the view can the popup show also
the superClass name as [Superclass>>ThisClass]



eftomi wrote
> With Roassal3 you get a diagram in the browser like this, on the tab
> "UML-Class" and "UML-Package".
>
>
> Best wishes,
> Tomaz
>
> c1buzqwa.png (121K)
> &lt;http://forum.world.st/attachment/5117496/0/c1buzqwa.png&gt;





-----
cheers,
Sanjay
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

cheers,
Sanjay