简体   繁体   English

带有Java代码生成的Eclipse UML插件

[英]Eclipse UML plugin with Java Code Generation

Does anyone know of a good (read: Free) Eclipse UML plugin that can also do code generation? 有没有人知道一个好的(阅读:免费)Eclipse UML插件,也可以做代码生成? If not, does anyone know of any good Eclipse UML plugins? 如果没有,有没有人知道任何好的Eclipse UML插件?

EDIT : I'm running Eclipse IDE on Fedora Linux 编辑 :我在Fedora Linux上运行Eclipse IDE

TIA TIA

Noob 菜鸟

I've had some luck creating UML diagrams based on java code with ObjectAid: ObjectAid Download Page . 我有幸运行基于java代码的ObjectAid创建UML图: ObjectAid下载页面

It was made for Eclipse so it should work. 它是为Eclipse制作的,所以应该可以工作。 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! 该网站列出了如何安装它,UML图表部分是完全免费的!

Hope this helped! 希望这有帮助!

eUML is free (read the license for restrictions): http://www.soyatec.com/euml2/features/ eUML是免费的(阅读许可证限制): http//www.soyatec.com/euml2/features/

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

Try Acceleo . 试试Acceleo Very flexible. 非常灵活。

Netbeans came with a free version of UML plugin which did code generation. Netbeans附带了一个免费版的UML插件,它可以生成代码。 The last version with UML plugin was 6.7. UML插件的最后一个版本是6.7。 After that they stopped. 之后他们停了下来。 you can download that and then install the plugin for it. 你可以下载它,然后为它安装插件。 You can check out STARUML 你可以查看STARUML

I agree with Jordi Cabot. 我同意Jordi Cabot。 you can basically exploit the Eclipse Modeling Framework with one of the existing model editors (ie Papyrus, TopCased, etc.). 您基本上可以使用现有的模型编辑器(即Papyrus,TopCased等)来利用Eclipse Modeling Framework。 Then you can write your own generation workflow by means of Acceleo, an Eclipse implementation of the MOF to Text Transformation Language. 然后,您可以通过Acceleo编写自己的生成工作流,Acceleo是MOF到文本转换语言的Eclipse实现。 It enables you to dive into a model and generate the text you want (ie Java, C++, C, python, Matlab, etc.) from it. 它使您能够深入了解模型并从中生成所需的文本(即Java,C ++,C,python,Matlab等)。

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. 它完全符合OMG标准。

Bye 再见

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM