Java class diagrams for Eclipse? (Galileo 3.52) - eclipse

I'm a Java/Eclipse noob and I want to generate class diagrams from my source. I'm unemployed so Free would be a good price. What are some reasonably stable plugins for Galileo to do this?
BTW, I know the Eclipse project has a UML sub-project. I couldn't quite tell what state of readiness it was in or whether it could generate class diagrams from my source code. UML is probably overkill for what I want - it does a LOT more than class diagrams - but I'll take it if it's my best option.
Does anyone have any experience with ObjectAid? (in their FAQ ObjectAid refers to a commercial version the download looked free so I was a little confused)
Thanks in advance!

I recommend you eUml2 (Eclipse UML subproject isn't enough mature yet):
http://www.soyatec.com/euml2/
I used it last week to do reverse engineering (generate diagram from source), works pretty well and annotation based.
I hate creating this kind of diagram and this tool saved a HUGE amount of time, by creating beautiful diagram from my soure code.
There is a free version ! ... the one I used.

Related

ObjectAid equivalent in IntelliJ

Is there anything equivalent to ObjectAid's Eclipse plugin in IntelliJ?
Note - my source code is so big if i install Code Iris, IntelliJ is crashing.
And I do not want to create class diagram of each and every class in my project, i want to select which class should be included, which is special about ObjectAid.
Here is PlantUml for jetBeains ides, here is reference page
PlantUML
No, Plant UML doesn't do any code selection or auto-generation of UML code.... Intellij unfortunately is a little behind in this dept, although I love the IDE.
I have experienced nothing but frustration with this topic.
I use the Ultimate edition, and the diagrams on this are great except it wont make a simple association, unless you start deleting lines, and then it wants to change your code!
Visual-paradigm is a joke, and the implementation into the IDE ise so unintuitive (like most coded uml addons).
Unfortunately your best bet is to use UMLET (free) and just do your own.... the amount of time you will waste looking, you will be able to draw your own!

Switching from Rhapsody to Eclipse (Papyrus) - UML model conversion?

Our team has been using Rhapsody for developing UML models and c++ code for 10+ years, and we would like to switch to Eclipse and use Papyrus for UML modeling.
We have compatibility concerns: would the UML models (all class diagrams, state machines etc) created in Rhapsody be all portable to Papyrus/Eclipse easily? Rhapsody can export UML models into XMI files (UML 2.1, 2.2, 2.3 standards). My questions is: is Papyrus able to reconstruct diagrams from XMI files
If not, are there better alternative UML plugins that work in Eclipse?
The XMI file exported by Rhapsody contains only meta data of the models. Is there a quick way to port the entire project from Rhapsody into Eclipse? Anybody experienced the similar?
Your answers will be much appreciated.
First, I must mention that I am directly involved with Papyrus, especially with the brand new Papyrus for Real Time project, at Eclipse.
First to set expectations... Moving diagrams between modeling tools has always been an exercise in frustration... There have been "standards" over the years (e.g., OMG's XMI-DI), but none seem to have been fully successful and all have necessitated a manual review. Note that I have not tried with the latest version of UML (2.5).
Now the model semantics, however, have a tendency to be more portable, especially with more recent versions of UML. I am not sure which version Rhapsody pretends to support, so it would be difficult to comment further.
With the version of Papyrus that is currently in development (with a scheduled June 2015 release), the notion of "canonical" diagram has been added. This provides for automatic creation and update of some diagrams under certain condition. for example, many behaviour diagrams, such sequence diagrams and some structure diagram, such as composite structure, can be canonical and generated from the semantic model. However, layout would still need to be adjusted. Other diagrams, such as class diagrams, would have to be manually re-created.
As was mentioned in the comment to your question, trying it out would give you the best indication of how much work is involved.
I am interested in this topic and I did a simple research on it: in fact a connector between RSA and Ppayrus is already open source https://www.eclipse.org/forums/index.php/t/835114/ it could be usefull to take a look at it and implement the same for Rhapsody.
I know that the Rhapsody XMI export did not export the graphical elements, you should probably then export them in a serialized format and mapping htem to papyrus diagram element.
other interested work but seems not to be free : modelbus https://www.modelbus.org/en/rhapsody.html which implement connectors with Papyrus EA and Rhapsody : could be also interesting to look at.
I am interested in your feedback if you did not let it down and do achive the mapping :)

Eclipse modeling

I search for tool that can generate code from UML diagram for Eclipse. The tool should generate code from UML diagram, reverse engeneering to see code changes, and merge option to prevent the deletion of the file for any change.
Is there tool that do that, or is it too much to ask?
If you like Eclipse based tools, I could recommend the free Uml to Java generator from Obeo, which may be downloaded from the Marketplace:
Help -> Eclipse Marketplace...
However, I think that it doesn´t completely fit your needs, since I believe that it doesn´t provide reverse engineering facilities. Also note that they use Acceleo for code generation, which is the reference OMG specification implementation.

Eclipse UML Tool

I already tried a few tool for eclipse which are for building UMLs (Object/Dependency Diagrams), but what I really need is a tool to generate such an UML out of code. (and not vice versa)
I'd prefer a simple UML tools which is easy to install and don't has any dependencies. I already tried Jupe, Omondo and eUML, but anyhow I'm still not really happy with them.
(I also found this: Eclipse UML plugin with Java Code Generation)
Try the most common CASE tools like MagicDraw or Enterprise Architect.
They have reverse engineering capabilities and they are most powerful (especially auto formatting the diagram elements may be useful).
If you want / need to stay inside Eclipse, have a look at this topic which is very similar to your question.

UML tool for reverse engineering an eclipse project

I am currently working on a project in Eclipse but the problem is that this project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to make a reverse enineering of the project to see his architecture in UML. Do you know an eclipse plugin who can complete this task very easily? Thanks for your answer !!
I think MoDisco is what you are looking for ( here for a short intro)
It seems that the question is dealing with Eclipse plugin therefore Modisco and StartUML are not a possible choice because they are either not a graphical class diagram viewwer or an Eclipse plugin.
The tools that I have evaluated and selected are:
Topcased can reverse a project and gives an UML view. The reverse is good even if not recursive. I mean that you can detect only object having their own information such as class, interface, package, method and attributes but you can not detect calls between classes because this require a recursive reverse.
eUML will give you a visual class diagrams and the possibility to navigate but no model only EMF tags inserted inside your own code. I like the visual representation of the class diagram but having EMF tags in my code is too intrusive !!
You can try RSA which is a pretty good reverse having a real UML model but you will also get EMF tag in your code
The best for me and with no doubt is EclipseUML Omondo with no tag in the code and a high quality UML model but it is really too expensive !!
I'd advise StarUML or StavrUML, the unofficial fork. It reverse engineers code compliant with Java versions before 1.6 or something. Yes, the project was abandoned years ago, but the UML editor remains incredibly strong and powerful.
However, I'd avoid using reverse engineering a UML diagram. You'll probably get an unreadable mess out if it. Just get stuck in and make it manually :)
I'm sure you can find a suitable tool for your needs if you check these.