简体   繁体   English

Eclipse UML插件生成Java源代码

[英]Eclipse UML plugin to generate Java Source code

Is there an Eclipse plugin that can draw uml class diagram and then generate Java source code from the class diagram? 是否有一个Eclipse插件可以绘制uml类图,然后从该类图生成Java源代码?

Thanks! 谢谢!

您可以尝试Papyrus,它是一个Eclipse插件,Papyrus可以绘制UML图并生成C ++或Java源文件。

Here's the first Eclipse plug in I came across. 这是我遇到的第一个Eclipse插件。

Altova - UML Eclipse Integration Altova-UML Eclipse集成

Automatic synchronization between the UModel project and source code lets you refer to – and work in – either the UML software model or the source code editor, confident that both windows display the current project status. UModel项目和源代码之间的自动同步使您可以引用并使用UML软件模型或源代码编辑器,并确信两个窗口都可以显示当前项目状态。 Every change you make in one window is immediately reflected in the other. 您在一个窗口中所做的每项更改都会立即反映在另一个窗口中。

Here's a list of Eclipse plug ins that are categorized under UML. 这是在UML下分类的Eclipse插件的列表。

The best tool is EclipseUML Omondo. 最好的工具是EclipseUML Omondo。 Altova is not really an Eclipse plugin but a standalone application built with Eclipse !! Altova并不是真正的Eclipse插件,而是使用Eclipse构建的独立应用程序!

MyEclipse is pretty neat but it is not free. MyEclipse非常简洁,但并非免费。

ArgoUML is a nice free UML IDE that can generate source from your class diagrams. ArgoUML是一个不错的免费UML IDE,可以从您的类图生成源代码。 There is an Eclipse plugin version for it as well. 也有一个Eclipse插件版本。 I haven't used the Eclipse plugin version of it so can't comment. 我没有使用过Eclipse插件版本,因此无法发表评论。 But if it does the same as the standalone version it should be good enough. 但是,如果它的功能与独立版本相同,则应该足够好。

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

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