Java Eclipse 的最佳 UML 插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2111516/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 03:39:00  来源:igfitidea点击:

Best UML plugins for Eclipse

javaeclipse-pluginuml

提问by Dan

I just inherited a J2SE project and will be working on it on Eclipse. I'd like to get some diagrams out of the existing code and I'm looking for good UML plugins to use with Eclipse.

我刚刚继承了一个 J2SE 项目,并将在 Eclipse 上处理它。我想从现有代码中获取一些图表,并且我正在寻找与 Eclipse 一起使用的优秀 UML 插件。

Any recommendations?

有什么建议吗?

采纳答案by rtperson

Honestly, I think your best bet isn't an Eclipse plugin at all, but Enterprise Architect by Sparx Systems. Its cost is reasonable ($200-300 US for the Professional version), and it can reverse engineer an existing code base into UML. I've used it on several projects, and have found it invaluable whenever I needed the 20,000-foot overview on an existing project.

老实说,我认为您最好的选择根本不是 Eclipse 插件,而是 Sparx Systems 的 Enterprise Architect。它的成本是合理的(专业版为 200-300 美元),并且可以将现有代码库逆向工程为 UML。我已经在多个项目中使用过它,并且在我需要对现有项目进行 20,000 英尺的概览时发现它非常宝贵。

Also, I haven't used its UML capabilities extensively, but MyEclipse (for $65 US) claims to have reverse-engineering capabilities as well.

此外,我还没有广泛使用它的 UML 功能,但 MyEclipse(售价 65 美元)声称也具有逆向工程功能。

回答by Daff

A year ago I tried some UML tools for Eclipse. I don't know if that has changed recently but I didn't find any good open source solution (Modelling tools are always extremely expensive) for WYSIWYG UML with Round Trip engineering (meaning changing your code will change your UML model and vice versa). I found Omondos UML Pluginthe best commercial UML Eclipse plugin. There is a trial version, too, but it's probably not a good choice if your project is short on money (a 1 developer licence is around 4000$).

一年前,我为 Eclipse 尝试了一些 UML 工具。我不知道最近是否发生了变化,但我没有找到任何好的开源解决方案(建模工具总是非常昂贵),用于 WYSIWYG UML 和往返工程(意味着更改您的代码将更改您的 UML 模型,反之亦然) . 我发现Omondos UML Plugin是最好的商业 UML Eclipse 插件。也有试用版,但如果您的项目资金短缺(1 个开发人员许可证约为 4000 美元),这可能不是一个好的选择。

回答by Pascal Thivent

If you simply want to generate some diagrams from existing code, then I would just go for Eclipse UML2 Tools.

如果您只是想从现有代码生成一些图表,那么我会选择Eclipse UML2 Tools

回答by Paul Rayner

I've used Poseidon for UML in the past and found it a perfectly decent product. The same company have an eclipse plugin which claims to do (amongst other things) round trip engineering:

我过去曾将 Poseidon 用于 UML,并发现它是一款非常不错的产品。同一家公司有一个 eclipse 插件,它声称做(除其他外)往返工程:

http://www.gentleware.com/apollo.html

http://www.gentleware.com/apollo.html

It's available for $6 per month, and has a 30 day trial.

它的价格为每月 6 美元,并有 30 天的试用期。

回答by Jordi Cabot

Remember that a list of all Eclipse UML2 compatible tools can be found here: http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility

请记住,可以在此处找到所有 Eclipse UML2 兼容工具的列表:http: //wiki.eclipse.org/MDT-UML2-Tool-Compatibility

Many of them are free and very good

其中许多是免费的,非常好

回答by Greg

I like UMLet. It is XML based which makes it very useful for diff'ing if needed.

我喜欢UMLet。它是基于 XML 的,这使得它在需要时非常有用。