wood burning stoves
The moose likes IDEs, Version Control and other tools and the fly likes From Java code to UML Class Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "From Java code to UML Class Diagram" Watch "From Java code to UML Class Diagram" New topic

From Java code to UML Class Diagram

Mahi Rahman

Joined: Feb 16, 2007
Posts: 21

I'm looking forward to find out if there is any possibility to generate UML class diagram from existing java source code automatically. I use Eclipse as IDE tool and I came to know that it is possible using this tool. But I don't know how. Tried to search internet and found some commercial plugins but I wonder if Eclipse.org is giving any extension.

Please feel free to share your knowledge in this regard.

Best Regards,
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10828

I dont know about eclipse, but Posiedon allows you to do exactly what you want, generate UML from source.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

In IRAD, which is based on Eclipse, you have the option to create a class diagram. It is under the 'modelling' section. From there, you just drag Java code onto the model, and the UML is created. It's pretty kewl.

Not sure about Eclipse though.

-Cameron McKenzie
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46405
There is a thing called Omondo, which can be used as a plugin to Eclipse and will create UML from class files. I have tried it and it did work, only my classes were so big I had to do lots of dragging to fit the UML onto the screen!

Try the Omondo website; there are also details on this Eclipse website; click "UML" on the left pane and you get 32 possibilities.
I agree. Here's the link: http://aspose.com/file-tools
subject: From Java code to UML Class Diagram
It's not a secret anymore!