AJ.
AJ.

Reputation: 2569

Source code to class diagram generation

How can I generate a class diagram and other related modeling diagrams from source code ?

I am open to any tool (Eclipse plug-in etc) but does Netbeans has a plugin for it too?

Upvotes: 2

Views: 3945

Answers (5)

UML GURU
UML GURU

Reputation: 1462

You can use Eclipse with a UML plugin to reverse the java code.

Once it is reverse you just need to export the image to a PNG, JPG format (I recommend PNG because the picture is better). Copy then this model export picture into the netbeans project. Some of my friends are doing it and it works well. They prefer netbeans to Eclipse for Java EE integration with Glassfish, so they only use Eclipse for the graphical power of GEF/EMF in order to get nice diagrams and still use their favorite IDE Netbeans.

Upvotes: 1

CMA
CMA

Reputation: 2818

To anyone:

try ObjectAid UML Explorer.. i am using eclipse IDE.. i find this very helpful..

Upvotes: 0

yamspog
yamspog

Reputation: 18343

I've used ArgoUML for modeling. It is a good open-source project and i've found it to be a good, cheap alternative to commercial products.

Upvotes: 0

Jay
Jay

Reputation: 5043

Here is a nice tool: http://java2uml.gforge.enseeiht.fr/

Upvotes: 0

Joe Ratzer
Joe Ratzer

Reputation: 18569

I've used StarUML for a Java project, and I liked that.

Upvotes: 4

Related Questions