aspose file tools*
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
Author

From Java code to UML Class Diagram

Mahi Rahman
Greenhorn

Joined: Feb 16, 2007
Posts: 21
Hi,

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,
Mahi.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

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
    
    1

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
Sheriff

Joined: Oct 13, 2005
Posts: 40064
    
  28
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