在Eclipse中自动生成UML图

想要在Eclipse中自动生成UML图,需要下载eclipse插件:Green UML,官网是:http://green.sourceforge.net/builds.html

1.按照它的提示,打开Eclipse,Help->install New software->将网址上列出的URLhttp://www.cse.buffalo.edu/faculty/alphonce/green 粘贴上->ADD->Next->Next->Finish

2.重启Eclipse

3.新建UML图:File->New->Green UML Class Diagram->输入UML图名->OK->自己所需的类右键->Green UML->Add to last viewed diagram

你可能感兴趣的:(在Eclipse中自动生成UML图)