views:

74

answers:

5

I'm using eclipse to program my java exercises for my CSCI class. Is there any way eclipse can give me a class diagram for a class that I've created?

A: 

I don't know of any way that Eclipse can generate a UML diagram, but it does give a very useful outline of the code on the side. Hope you find an alternative!

EDIT: now that you got me interested, I did a little research. Check out this website

chama
A: 

Try Fujaba for Eclipse.

mlaverd
A: 

Might help : http://staruml.sourceforge.net/en/

fastcodejava
A: 

You will need a plug-in, like this one, currently in alpha stage.

kgiannakakis
Worked fine! Thanks
vhflat
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