@linux1s1s
2017-01-22T08:57:28.000000Z
字数 564
阅读 8213
Android Studio 自动生成UML
Tools
2016-06
下载
simpleUMLCE 插件下载 版本0.01 已经很久没有再更新了,不过这个是目前Studio比较好的自动生成UML插件,推荐使用。
安装和使用
- Click on File and goto Setting ( File -> Setting )
- Select Plugin from Left Panel and click Install Plugin from Disk
![此处输入图片的描述](http://7xinl9.com1.z0.glb.clouddn.com/to46f.jpg)
- Locate the SimpleUML jar file and select it.
![此处输入图片的描述](http://7xinl9.com1.z0.glb.clouddn.com/GxbrY.jpg)
- Now Restart the Android Studio
- After you restart Right Click the Package name and Select New Diagram
![此处输入图片的描述](http://7xinl9.com1.z0.glb.clouddn.com/dB30E.jpg)
- Set a file name and create UML file. I created with name NewDiagram
![此处输入图片的描述](http://7xinl9.com1.z0.glb.clouddn.com/W6Rio.jpg)
- Now Right Click the Package name and Select the file you created. In my case it was NewDiagram
![此处输入图片的描述](http://7xinl9.com1.z0.glb.clouddn.com/rGVmQ.jpg)
- All files are stacked on top of one another. You can just drag and drop them and set a hierarchy.
![此处输入图片的描述](http://7xinl9.com1.z0.glb.clouddn.com/48Ydr.jpg)
- Like this below, you can drag these classes
![此处输入图片的描述](http://7xinl9.com1.z0.glb.clouddn.com/Task.jpg)