从Java Project生成UML类图 [英] Generate UML Class Diagram from Java Project

查看:694
本文介绍了从Java Project生成UML类图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个很好的工具可以帮助将Java类逆向工程到UML,它将显示我的类如何相互关联的概述?它不需要从JAR文件反编译,因为我有源。我知道那里有很多,但大多数只能生成个人课程。我希望有一个工具可以生成类图,它显示了我当前所有类和包如何协同工作的概述,以便我可以分析我当前的架构设计。当然,分析是一回事。另一个是出于文档目的。

Is there a good tool that can help to reverse engineer Java classes to UML that will show an overview of how my classes are related to each other? It doesn't need to decompile from JAR file because I have the sources. I know there are quite a few out there but most of those can only generate individual class. I hope there is a tool that can generate class diagram that shows an overview of how all my current classes and packages work together, so that I can analyse my current architecture design. Of course, analysing is one thing. The other is for documentation purposes.

到目前为止我知道一些。但是他们不能做概述类图。这是我尝试过的Java UML工具列表,它能够进行逆向工程,但不能完成整个项目的概述类图:

I know of a few so far. But they cannot do an overview class diagram. Here's a list of Java UML tool that I have tried and is capable of doing reverse engineer but cannot do an overview class diagram of my whole project:


  • StarUML(非常好的 Opensource UML工具但不能生成概述类图)

  • ArgoUML(它缓慢且缓慢且不断崩溃)

  • UModel(这是一个商业软件。我之前用过但发现很难使用)

  • MS Visio(它不支持Java UML逆向工程师。仅适用于VB)

  • StarUML (Really good Opensource UML tool but cannot generate not overview class diagram)
  • ArgoUML (It is slow and sluggish and it keeps crashing)
  • UModel (This is a commerical software. I used before some time ago but found it difficult to use)
  • MS Visio (It doesn't support Java UML reverse engineer. Only for VB)

是否还有其他建议要添加到此列表中?并且希望能够生成概述Java类图。顺便说一下,我正在使用Eclipse。

Are there any other recommendations to add to this list? And hopefully, can generate an overview Java class diagram. I am using Eclipse, by the way.

推荐答案

我使用 eUML2 插件,在Eclipse下,它可以很好地生成给出源代码的UML。这个工具在Eclipse 4.4.x

I use eUML2 plugin from Soyatec, under Eclipse and it works fine for the generation of UML giving the source code. This tool is useful up to Eclipse 4.4.x

这篇关于从Java Project生成UML类图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆