tags:

views:

229

answers:

6

Can anyone help me? I am currently using eclipse java ide, and would like a plug-in that will automatically look at my classes and draw up a class diagram in UML.

any suggestions?

+3  A: 

I recommend the ObjectAid UML plugin. It works very nicely.

Dean Povey
Hi, I installed this tool, got it working etc, but can you get it to sort of draw up everything automatically like assosiations and what not?
KP65
Once you create your diagram (New > Other > ObjectAID UML Diagram), then right click to add the classes you want to show. Then select all and right click to add relationships.
Dean Povey
A: 

Try UML2 from Eclipse Modeling Tools. Here's also a tutorial.

Bozhidar Batsov
A: 

If you can move to IntelliJ they have a wonderful plugin for that.

If you're "stuck" with eclipse... AmaterasUML is good enough - I've used it in the past...

Yaneeve
NetBeans also has great UML plugin. :-)
Bozhidar Batsov
@Bozhidar which plugin would that be? looking it up I found several available.. could you post a link to your favorite?
Yaneeve
NetBeans UML support is deprecated, as far as i know (not included in 6.8 anymore).
dz
A: 

Try using Omondo. Its a very nice UML plugin for eclipse. It will exactly suit your needs

Bragboy
@Bragaadeesh: Doesn't seem to be free though (???)
Yaneeve
It is not free but you have a 90 days license in the latest SR2 build. Plenty of time to finish your project. No nagscreen, no tag in the code, the uml model is standard and could therefore be open by any tool. Only the graphical editor is under the 90 days evaluation. So not so bad :-)
A: 

I would try MoDisco http://www.eclipse.org/gmt/modisco/. It is an extensible framework for software modernization.

Jordi Cabot
A: 

See http://www.reversejava.com for a dynamic reverse engineering application which generates UML Sequence diagram and view of Participating Class diagram from any Java Application at runtime All you have to do is just run your application and sit back. Reverse Java runs in background tracing all the activities happening inside your application and creates UML diagram for you.

You also have options for, excluding packages,editing the Sequence diagram and exporting the diagrams as PDF or Image.

And its not expensive !

Rajesh Jadhav