• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

From Java code to UML Class Diagram

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont know about eclipse, but Posiedon allows you to do exactly what you want, generate UML from source.
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 75836
361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic