Eclipse UML plugin with Java Code Generation

2019-03-16 10:28发布

Does anyone know of a good (read: Free) Eclipse UML plugin that can also do code generation? If not, does anyone know of any good Eclipse UML plugins?

EDIT: I'm running Eclipse IDE on Fedora Linux

TIA

Noob

5条回答
Deceive 欺骗
2楼-- · 2019-03-16 11:13

Netbeans came with a free version of UML plugin which did code generation. The last version with UML plugin was 6.7. After that they stopped. you can download that and then install the plugin for it. You can check out STARUML

查看更多
甜甜的少女心
3楼-- · 2019-03-16 11:14

I've had some luck creating UML diagrams based on java code with ObjectAid: ObjectAid Download Page.

It was made for Eclipse so it should work. However, I don't know if it does code generation... but it makes a pretty picture!

The site lays out how to install it and the UML diagramming portion is absolutely free!

Hope this helped!

查看更多
来,给爷笑一个
4楼-- · 2019-03-16 11:17

eUML is free (read the license for restrictions): http://www.soyatec.com/euml2/features/

Also Jupe: http://jupe.binaervarianz.de/

查看更多
Rolldiameter
5楼-- · 2019-03-16 11:17

Try Acceleo . Very flexible.

查看更多
做个烂人
6楼-- · 2019-03-16 11:23

I agree with Jordi Cabot. you can basically exploit the Eclipse Modeling Framework with one of the existing model editors (i.e. Papyrus, TopCased, etc.). Then you can write your own generation workflow by means of Acceleo, an Eclipse implementation of the MOF to Text Transformation Language. It enables you to dive into a model and generate the text you want (i.e. Java, C++, C, python, Matlab, etc.) from it.

At the beginning it may look a bit weird and hard to understand but it is the best environment I know for this purpose. It is totally conform to the OMG standards.

Bye

查看更多
登录 后发表回答