Home
Resources - Getting tools
Tutorials
Sample Code
Documents
Help

                 

 

 

UML - Quick Tutorial

We assume the user is familiar with UML diagrams. The following is a quick tutorial on using UML in a project. After installing the EMF-UML plugin, exit Eclipse and reinvoke it.

At this point you can create UML diagrams in the editor. Here's a short example:

This tutorial just scratches the surface of the UML capabilities. Use the help menu for details on using UML. Ignore the EMF part of the plugin as it is an advanced tool for creating complex applications. See the getting started section of the EclipseUML plugin user guide (in the help page) for details on associations and inheritance.

You can also create a UML file for an existing Java project. Once defined, just drag and drop existing java source files onto the UML editor to create a class diagram. If you prefer to view private methods and attributes, right click on the class diagrams to invoke the View selector and choose what is to be viewed. Any packages defined within the project are also imported into the UML editor.