What tool to use to convert a visually developed UML to code?

4

I need an Eclipse tool / plugin that allows me to develop class diagrams, activities and sequence in UML and to generate the code.

I often use Eclipse with Omondo plugin, but it looks like it has been discontinued. The last version I got was Eclipse 2.1, it should be about 3 years old.

    
asked by anonymous 30.01.2014 / 11:43

5 answers

4

Eclipse Modeling Tools is an Eclipse distribution made especially for modeling, which includes UML 2.0. Just download the package.

    
30.01.2014 / 13:07
2

OMONDO continues to distribute EclipseUML to new versions of Eclipse, unfortunately there is no trial for these products , you will need to test EclipseUML with Eclipse Galileo or earlier (honestly I would not invest in a company with these policies, especially when you consider the price practiced by them).

In the case of integrated (and, in this case, proprietary) solutions I would recommend Visual Paradigm UML - the community version is unfortunately not able to generate code, but you get a trial from a commercial version on the site. The tool is pretty cool, and I consider the price just right for such a tool.

The Open Source options, for the most part, orbit around EMF . The best known are Papyrus and Topcased . You'll still need something to turn the templates into code, for example Acceleo . This is where tools such as Uml to Java Generator come in.

Finally, nothing prevents you from using only the standard EMF tools (Ecore / Genmodel). In that case I agree with the @utluiz, and recommend you download an EMT distro; keep in mind however that the experience is quite different from EclipseUML. Without the help of other plugins the process to create diagrams and generate code from them is reasonably complex:

  • Create an EMF project
  • Create Encore diagrams - the experience here is not as intuitive as with more refined CASE tools
  • Create an EMF Generator Model
  • Finally, from the model, generate the Java code

If you're going to try this route, I recommend the tutorial on the Lars Vogel .

    
30.01.2014 / 14:09
1

I know a little bit about the scope of your question, which is to find a new plugin for Eclipse, but I've been using Astah (old Jude) in my projects and it caters well to my needs, code.

Anyway, I found this plugin: link . It might be useful.

    
30.01.2014 / 12:31
0

Fleeing a little from the field of plugins and starting to specific IDE's for this, there are some very professional and respected tools that can do this and more. The most well-known are Enterprise Architect and Magic Draw .

    
20.02.2014 / 04:30
0

You can use a Papyrus editor / plugin made available by Eclipse through the website:
Papyrus Eclipse Update . Particularly supporting UML and other related modeling languages, such as SysML and MARTE.

But you can also use very complete online editing sites, generate code and have several diagram with examples: UML Tool & UML Diagram

    
25.09.2014 / 03:20