• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

From Java code to UML Class Diagram

 
Mahi Rahman
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know about eclipse, but Posiedon allows you to do exactly what you want, generate UML from source.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic