Are there eclipse plugins that you can recommend for generating diagrams (UML, sequence) from Java code?
|
ObjectAid UML ExplorerIs what I used. It is easily installed from the repository:
And produces quite nice UML diagrams: Description from the website:
|
|||||||||||||||
|
What is your codebase? Java or C++?
|
|||||||||||||||||||||
|
EDIT: If you're a designer then Papyrus is your best choice it's very advanced and full of features, but if you just want to sketch out some uml diagrams and easy installation then ObjectAid is pretty cool and it doesn't require any plugins I just installed it over Eclipse-JEE and works great !. Trust Me in June 2012 it's Papyrus, I wish I could write about my experience with the rest of tools like eUML2, UML Lab, ObjectAid, I've tried around 11 UML plugin some I couldn't pass installation process bugs and others turned out to be commercial eUML2 the free edition is uninstallable and the UML Lab (Fancy and great but) is commercial ! Notes:
So let's talk about Papyrus Installation I will guide you to how I did what you wanted to do which is Java To UML
Generating UML
That's all, Don't buy commercial stuff, papyrus is actually great and sophisticated instead buy them a beer (donate). Disclaimer: I've no relation to the papyrus people infact i didn't like papyrus at first until I did lots of research and experienced it with some patience. |
|||||||||
|
I don't have enough privileges to comment on answers,but just to add to first answer, I used eUML2 and it was really easy to download,install and use.At least for Galileo and Ganymede it works fine. |
|||||||||
|
How about PlantUML? It's not for reverse engineering!!! It's for engineering before you code. |
|||||
|
I would recommend EclipseUML from Omondo for general usage, although I did experience some problems a few months back, with my web projects. They had a free edition at one point in time, but that is supposedly no longer promoted. If you are really keen on reverse engineering sequence diagrams from source code, I would recommend jTracert. As far as Eclipse projects themselves are concerned, the Eclipse UML2 Tools project might support reverse engineering, although I've have never seen its use in practice. The MoDisco (Model Discovery) project Eclipse GMT project seems to be clearer in achieving your objective. The list of technology specific tools would be a good place to start with. |
|||||||||
|
You could also give the netbeans UML modeller a try. I have used it to generate javacode that I used in my eclipse projects. You can even import eclipse projects in netbeans and keep the eclipse settings synced with the netbeans project settings. I tried several UML modellers for eclipse and wasn't satisfied with them. They were either unstable, complicated or just plain ugly. ;-) |
|||||||||
|
You can use the 30 days evaluation build of EclipseUML for Eclipse 3.5 : http://www.uml2.org/eclipse-java-galileo-SR2-win32_eclipseUML2.2_package_may2010.zip This is not the latest 3.6 build but pretty good and don't need to buy it for testing reverse engineering. Reverse engineering : http://www.forum-omondo.com/documentation_eclipseuml_2008/reverse/reverse/reverse_engineering_example.html Live flash demo: http://www.ejb3.org/reverse.swf EclipseUML Omondo is the best tool in the world for Java. Only eUML seems to compete with him on this live java synchronization market but eUML add model tags in the code which is really very very bad and a definitive no go for me. |
|||
|
I found Green plugin very simple to use and to generate class diagram from source code. Give it a try :). Just copy the plugin to your plugin dir. |
|||||
|
Something very simillar has been asked before. By far the best tool I have used for reverse engineering, and round tripping java -> UML is Borland's Together. It is based on Eclipse (not just a single plugin) and really works well. |
|||
|
IBM Rational Systems Developer has this feature built-in. You can do C++ to UML or java to UML transformation.. |
|||
|
protected by YOU Apr 17 '11 at 12:10
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.