Step-by-Step Guide to Start an Eclipse project
Reverse Engineering Log4j Code into UML Diagrams with EclipseUML Free Edition 1.2.1
Xavier Maysonnave, Software Consultant and Linux advocate,
Vlad VARNICA, Business Development Manager,
May 2003
Omondo Corporation,
IBM Partnerworld for Developer
This tutorial gives you a guide to the basic class diagram
reverse engineering and to using the popular UML editor with many
powerful features. The tutorial covers fundamental concepts and common
activities, and then builds on those foundations to quickly familiarize
yourself with this excellent graphical UML editor.
This tutorial is not copyright protected, you may copy elements of this tutorial as you wish.
Tutorial length: Under two hours
Formats: XHTML
Summary :
is an open source project which controls which log statements are
output. The general purpose of this tutorial is to show the SWT
technology and the EclipseUML functions such as reverse engineering,
navigation and drill down inside Java packages or classes. We will be
focused on understanding . The UML diagram package (below) has
been created using Eclipse platform and Omondo EclipseUML. This
tutorial will be helpful to understand how to import existing open
source projects inside Eclipse and to have a quick understanding of
packages and classes interactions.
In order to promote SWT technology, this tutorial will also show
zooming, browsing and drill down EclipseUML functions. Finally the use
of
allows Microsoft or Linux look and feel inside a traditional and open
source IDE.
Overview :
The major steps to reverse engineer
Java code into EclipseUML Model Diagram are as follows :
- Create a Java project
- Load log4j inside Eclipse
- Create the UML package and class diagrams
- Navigate inside your Log4j UML Diagram.
The Java project creation is beginner level. The loading of Log4j
inside Eclipse and the creation of Log4j model is intermediate level.
The screenshots were captured using ,
and
We are using Sun JDK 1.4.2 and Eclipse 2.1 on Windows XP SP1. We
consider that you have successfully installed EclipseUML Free Edition
1.2.1.
Contents :
This tutorial is organized in a
straightforward manner. Steps 1 to 6 describe how to import Log4j inside
Eclipse. Step 7 describes how to reverse Log4j using EclipseUML.
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
Step 7:
Reverse Engineering features chart :
|
EclipseUML Free Edition 1.2.1 |
EclipseUML Enterprise Edition |
|
May 2002 |
August 15th 2003 |
| Package dependency reverse |
 |
 |
| Classe diagram reverse |
 |
 |
| Attribute reverse |
 |
 |
| Association reverse |
 |
 |
| Inheritance reverse |
 |
 |
| Dependency reverse |
 |
 |
| Jar file reverse |
 |
 |
| Sequence diagram reverse |
|
 |
| Project reverse |
|
 |
| Getter/setter recognition |
|
 |
| Cardinality recognition |
|
 |
| Changeability recognition |
|
 |
| Container detection |
|
 |
| Container recognition |
|
 |
| Qualified association recognition |
|
 |
|
|