Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UML Plugin for Eclipse - Class Diagrams & Java Code Generation - Indigo/Juno

I am looking for a UML plugin for Eclipse. I know this questions has been asked several times, but most of them are a few years old. From what I read I would say that most people prefer eUML2, but this officially supports only Helios.

So far I am using argoUML, but the absence of an undo-button is really an usability nightmare, to say the least. Additionally I would prefer integration into Eclipse.

What I want is:

  • Free/Open-source
  • Actively developed tool (support for Indigo, planned support for Juno)
  • Hassle-free installation in Eclipse
  • Class diagrams
  • Generate Java code from diagrams
  • Update the class diagrams after implementation is done (round-trip)

What would be nice:

  • Other diagrams, where for me the most important are sequence and use case diagrams

If there are in fact no suitable Eclipse plugins, than I would be happy if you could point out other tools that are free/open source and linux-based and which workflow you are using to accomplish the aforementioned requirements.

like image 253
Exocom Avatar asked May 22 '12 07:05

Exocom


2 Answers

I'll definitely go with ObjectAid.

It supports drag and drop of classes and packages directly from your code in eclipse. No need to open another application for your modeling.

Model files (*.ucls) can be kept in a separate project in eclipse while you code/develop your Java codes in another project. All these can be done on a single eclipse session.

Just want to emphasize on the drag-n-drop. I simply love it!

I'm using Eclipse Juno.

I tried other modeling tools but didn't get what I wanted.

P.S. Creation of class diagrams is free, but needs an evaluation license for creating Sequence diagrams.

like image 177
Jonathan Avatar answered Oct 21 '22 11:10

Jonathan


For now I will go with either Green UML or UML Lab. Green UML fulfills all the points I asked for, except that I'm not a hundred percent sure it is very actively developed. But the last update is from November 2011. It only supports class diagrams, but that is ok for me. It can be found here.

Other than that I will try the academic version of UML Lab as it looks a bit more promising, though not being free is a draw back.

like image 35
Exocom Avatar answered Oct 21 '22 12:10

Exocom