Eclipse builds UML diagram plug-in green UML installation and use

Source: Internet
Author: User
Tags php download

Because of learning Java to do course assignments need to spend class UML diagram, online Search a lot of methods. This is the way to install the green plugin.



Sometimes want to write our class to generate a UML diagram, is the code looks more clear, so we found a Java class under eclipse automatically generated UML diagram Plug-ins, find a lot, found green UML such a plug-in, very easy to use, the following is the plug-in installation method:
1. Go to the http://green.sourceforge.net/builds.html page to find the GEF version and green UML version of your eclipse version

First look at the last version of Eclipse to find the corresponding version of green UML versions, click on the version column to go to the green UML corresponding version of the download page. Download it and unzip it, copy everything under the plugins directory to the plugins directory under the Eclipse installation directory, but if you don't want to mix with the plugins under Eclipse, you can go out and configure the Eclipse plug-in with the links directory. The specific method is a lot of online, very easy.

2. The GEF version corresponding to the Get version column in the http://www.eclipse.org/gef/downloads.php download form, I unzipped it directly after downloading, Then copy everything in the plugins directory to the plugins directory under the Eclipse installation directory, as described above, and can be configured separately.

Once installed, restart Eclipse, you can find a right click on a Java class, the menu appears in a green UML, click the following submenu can help us generate this class UML diagram

Of course, we can also right-click the package to generate the entire package class UML, where the various classes of association can help us to show, very good and convenient


Add: Now the green software does not support downloading the next version, only to support the use of the input site in Eclipse installation, the official online city said:

Green'll now is distributed via update site instead of direct download. The latest build of green can is found at the following update site:

Http://www.cse.buffalo.edu/faculty/alphonce/green

To install or update green, go to Help->install New Software ... Type in (or Copy/paste) the above site URL and click Add. After the update site has been added, you can install from that same dialog.


How to use green http://wenku.baidu.com/view/7ec0b519ff00bed5b9f31d1b.html


Summary:

Create a New Diagram
Important Note: Green UML won't work with classes in the default package!  In practice, this isn't really a restriction because you should always put all of your classes in packages and never Code in the default package.

Create a New Blank Diagram
in The Package Explorer, right-click anywhere in the desired project and select
"New/other/green UML Class Diagram"


Create a new Diagram from the Existing class or Interface--Creates a new class Diagram with
new class diagram with only one class/interface in it:
Right-click the class or interface in the Package Explorer and select ' Green uml/add to New class Diagram '
new class diagram with the specified class/interface and its immediate
Superclass:right-click the class or interface in the Package Explorer and select Green uml/incrementally Explore in New   Class Diagram "Green UML would create a xxx.grn file in the root of the SRC folder (the default package location)." To rename a class diagram, highlight it's *.grnfile and go to the Eclipse main menu and select File/rename or hit the F2


After the installation is complete, the following:


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.