Is there any specific tool for creating a UML class diagram for an entire java project. I tried with the ObjectAid UML plugin and created a UML class diagram. I need to create a class diagram for all classes by selecting the project src folder. Is there any way to generate it?
Thanks.
I am biased, but you should also check out the Architexa Code Definition Tool. It will create a layered diagram for your entire code base. You can create class diagrams for individual packages or classes.
Not sure about Eclipse or its plugins, but you can do it in Netbeans. Here is how .
The official Netbeans UML Plugin page.
The best reverse engineering I've ever seen is EclipseUML Omondo.
You can use Eclipse 3.3 and test the EclipseUML assembly for 30 days: See the dowload page at: http://www.ejb3.org/download_studio_eclipse_3.3.html This is enough time to create class diagrams and sequences from existing code.
See this article: http://java.dzone.com/articles/reverse-engineer-source-code-u
I think it describes exactly what you need.
Try MoDisco Eclipse Plugin
You can try the Sparx EA tool: http://www.sparxsystems.com.au/
But if there are too many classes in the package, you can get a very ugly class diagram
You can use UMLgraph: http://www.umlgraph.org/
It creates output for graphviz, which will mock up different classes. It is written as a doclet for javadoc.
You can try the 2uml tags, which accepts the tag file created by ctags and creates a DOT file that can be converted by GraphViz into a UML class diagram: https://github.com/ruben2020/tags2uml