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

eclipseeclipse-pluginjavauml

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.

Best Answer

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.