目标: 通过从 SVN checkout 下来的代码,我想快速的了解整个系统的解构。
需要从一个一个的 .java 文件 看到整个系统的 UML 图。
因为是基本使用,所以没有对 EA 更多的功能研究。
1:现在 假设 以及安装了 EA,并且 checkout 了源代码。
2: 下面给出具体操作的截图。 (特别提醒 在获得 UML 图之后 ctrl+鼠标滚轮 可以缩放UML 哦。)
A: Create new EA project
B: EA can auto give U a dialog,just select "Class"
C: after B ,you should notice ProjectBrowser in the ringht.
D: U must select Clss Model node and right click./ you can use mouse or you can use keyboard "Ctrl+shift+U"
E: select source Type and your source codes field...... i select "src" folder works fine .(as U know there are lots of folder such as bin lib res....)
F: details
G: just click ok then U can see EA begin import codes in src,and create UML automatically.
H: finally U got the entire project UML map .