Green uml, eclipse, class relationship diagram

Source: Internet
Author: User

Reprinted: http://hi.baidu.com/dburu/blog/item/c60fc1881b37189ca4c2723f.html/cmtid/059096cb1ab0e0f352664fa7


Green UML:

A uml class diagram creation tool. You can use green UML to create a UML class diagram from the Code, or use a UML class diagram to generate code.


Web: http://green.sourceforge.net/builds.html

 

Installation:

1. decompress the package and obtain the folder xxx/plugins/*. APK.

2. Copy XXX to./Eclipse/plugins.
./Eclipse/plugins/xxx

3. Create an eclipse folder under XXX, and then
./Eclipse/plugins/XXX/
Plugins copy
./Eclipse/plugins/

Xxx/
Under eclipse
./Eclipse/plugins/XXX/
Eclipse/
Plugins.

4 In ./
Create a links folder under eclipse, and create the file XXX. Link in it, with the same path =
./Eclipse/plugins/xxx.

5 restart
Eclipse, OK.

Note:
Eclipse and green UML must match.

 

Usage:

Green UML
A UML
The class graph creation tool is mainly designed for students. You can use Green UML
Create UML from code
Class diagram, or through UML
Class graph to generate code. All associations in the class diagram are dynamically incrementing in the form of plug-ins/
Delete. Green
Support for UML
Class image export to jpg
And gif
Format.

 

 

Green UML
It is a little simple and cannot be applied to large projects, but it is quite interesting. You can try it out.

 

 

To http://www.eclipse.org

Plug-in address http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-626.html found on

 

 

Ensure that JDK 5 has been installed before installation.
Version.

Install Green UML
Install GEF first
, According to Eclipse
Different versions are selected to download different versions, Green UML
And GEF
Little plug-ins, less than 10 M
, Using links
Installation and configuration, start Eclipse
. In

"Winodw-Preference
", You can see" Green "in the left menu
"Option.

 

 

Select a Java
File, right-click the menu with "Green UML"
", There are two sub-options:" Add to New Class digoal
And Add to last viewed Class digoal
".

 

 

After you select add, you can
Directory. grn
File, open the following

 

 

 

 

 

Double-click a class, you can go to the source code section, right-click on the class diagram, you can add functions, class members, and so on to the class, and then double-click, you can see that these definitions have been added to the source code.

 

 

Right-click Save
Can be saved as an image.

 

 

BTW
For the first time, I used eclipse
Let's try it out?

 

 

 

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.