Java UML 图工具 - Eclipse 插件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2600097/
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
UML Diagram Tool - Eclipse plugin?
提问by KP65
Can anyone help me? I am currently using Eclipse Java IDE, and would like a plug-in that will automatically look at my classes and draw up a class diagram in UML.
谁能帮我?我目前正在使用 Eclipse Java IDE,并且想要一个插件来自动查看我的类并在 UML 中绘制类图。
Any suggestions?
有什么建议?
采纳答案by Dean Povey
I recommend the ObjectAid UML plugin. It works very nicely.
我推荐ObjectAid UML 插件。它工作得很好。
回答by Bozhidar Batsov
Try UML2 from Eclipse Modeling Tools. Here's also a tutorial.
从 Eclipse Modeling Tools尝试UML2。这里还有一个教程。
回答by Yaneeve
If you can move to IntelliJ they have a wonderful plugin for that.
如果你可以迁移到 IntelliJ,他们有一个很棒的插件。
If you're "stuck" with eclipse... AmaterasUMLis good enough - I've used it in the past...
如果你对 eclipse “卡住了”...... AmaterasUML已经足够好了——我过去用过它......
回答by bragboy
回答by Jordi Cabot
I would try MoDisco http://www.eclipse.org/gmt/modisco/. It is an extensible framework for software modernization.
我会尝试 MoDisco http://www.eclipse.org/gmt/modisco/。它是用于软件现代化的可扩展框架。
回答by sethrq
The challenge in what you are trying to do is that you can have multiple correct UML diagrams for any piece of code. Just trying to automatically get a diagram ends up with too much garbage when using most UML tools - and the tools just end up getting in the way.
您尝试做的事情的挑战在于,您可以为任何代码段提供多个正确的 UML 图。在使用大多数 UML 工具时,仅仅尝试自动获取图表最终会产生过多的垃圾——而这些工具最终会成为障碍。
We created Architexato help in this situation - Architexa helps you to get to useful diagrams fast - if that means connecting to source code commits or even building layered architectural diagrams. A good discussion on some of the things that you might be looking for can be found here.
我们创建了Architexa来帮助解决这种情况 - Architexa 可以帮助您快速获得有用的图表 - 如果这意味着连接到源代码提交甚至构建分层架构图。可以在此处找到有关您可能正在寻找的某些内容的良好讨论。
回答by Omnaest
Even if a bit too late for the original questioner, maybe following eclipse plugin does match the need of real time analysis:
即使对于最初的提问者来说有点太晚了,也许下面的 eclipse 插件确实符合实时分析的需要:
http://marketplace.eclipse.org/content/javadoc-uml-view
http://marketplace.eclipse.org/content/javadoc-uml-view
This tool is highly intended for analysis purposes and less for diagram modeling. So if you want to draw diagrams manually its not the right one, in this case ObjectAid UML explorer is far better.
该工具主要用于分析目的,而不是用于图表建模。因此,如果您想手动绘制图表,它不是正确的,在这种情况下,ObjectAid UML 资源管理器要好得多。
Just to be mentioned :-)
只想提一下:-)
回答by Gilberto Olimpio
One more option: http://www.modelgoon.org/
还有一种选择:http: //www.modelgoon.org/
It's a very simple one, but it's still an active project.
这是一个非常简单的项目,但它仍然是一个活跃的项目。
回答by Arnab Biswas
回答by Vishrant
Check this out, this designer is free (Open Source with EPL license).
看看这个,这个设计器是免费的(具有 EPL 许可证的开源)。
UML Designerwhich can be used for:
UML 设计器可用于:
- Package Hierarchy
- Class Diagam
- Component Diagram
- Composite Structure Diagram
- Deployment Diagram
- Use Case Diagram
- Activity Diagram
- State Machine
- Sequence Diagram
- Profile Diagram
- 包层次结构
- 类Diagam
- 组件图
- 复合结构图
- 部署图
- 用例图
- 活动图
- 状态机
- 序列图
- 剖面图
Got good tutorial as well:
也得到了很好的教程:
http://www.umldesigner.org/tutorials/tuto-getting-started.html
http://www.umldesigner.org/tutorials/tuto-getting-started.html