how to automatically convert from Java class to Java class diagram, has not been made. So I found a more powerful eclipse plugin--modelspoon that automatically generates Java class diagrams online. This brother is very powerful, just drag the. java file directly into it, it can directly generate Java class diagram. Very useful.
2. Installation and use of Modelspoon
Features: Ability to generate class diagrams for existing Java classes in Eclipse
A: What is Modelgoon?
It is an Eclipse plug-in for model design based on UML diagrams and reverse engineering (i.e. generating class diagrams from existing source code).
Two: Installation
download Modelgoon-4.4.1-site.zip to PC and choose Help-->install new software from Eclipse. In Work with--> Add selects the modelgoon-4.4.1-site.zip that have already been downloaded, all the way next to complete the installation.
Three: Use
after the installation is successful, File-->new-->other-->modelgoon in Eclipsediagrams Select Class Diagram, create a file in your Java project with a suffix of. MGC, and use it to generate class diagrams. 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/77/AD/wKiom1ZrihqxErH5AAHkAfC-eTk950.jpg "title=" Qq20151212104423.jpg "alt=" Wkiom1zrihqxerh5aahkafc-etk950.jpg "/>
The usage is simple, the Java class is dragged directly into the file view, and the UML class diagram is generated automatically.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/77/AD/wKiom1ZriqHS7pK0AAKlYA9kri8722.jpg "title=" Qq20151212104653.jpg "width=" "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:600px;height:300px; "alt = "Wkiom1zriqhs7pk0aaklya9kri8722.jpg"/>
This article is from the "canvas shoes can walk the cat step" blog, please be sure to keep this source http://9409270.blog.51cto.com/9399270/1722260
Eclipse automatically generates class diagrams