You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

UML diagrams provide a graphical representation of an application's structure and processing. These representations can be helpful in that they accelerate understanding of the application.

This page provides information on various tools that can be used to generate UML diagrams that illustrate Magnolia CMS as well as recommendations for especially useful diagrams and generating the diagrams.

UML introduction

As stated in the Introduction to UML, there are three types of UML diagrams: structure, behavior, and interaction. Useful structure diagrams for Magnolia CMS include class, object, component, composite structure, and package. Useful behavior diagrams include activity. Useful interaction diagrams include sequence and communication (or collaboration). The Wiki's UML article and the Kennesaw's UML Tutorial provide descriptions and examples of these and other UML diagrams.

UML tools

MyEclipse UML 2 is recommended for generating class diagrams of the Magnolia CMS code.

The following tools were also evaluated but are not recommended due to not being an Eclipse plugin, low ratings, not free, or not performing as expected: Solution BluePrint, Javadoc as UML View, ModelGoon UML 4, Coffea, UML Lab, MagicDraw, AgileJ StructureViews, Slime UML, MaintainJ, EclipseUML, jSonde, Green, UModel, Rational, Visual Paradigm, eUML2.

Generation recommendation

To install MyEclipse UML 2:

  1. Add software site to http://downloads.myeclipseide.com/downloads/products/eworkbench/helios/enterprise-earlyaccess/ in Eclipse.
  2. Deselect Maven Support for MyEclipse (this conflicts with the Maven Support needed for the development environment) and Spring AJDT Extension during installation.

To create class diagrams click New>Other>MyEclipse>UML>UML1 Model or UML>Reverse Engineer UML from Java in Eclipse. A class can be added to the class diagram by dragging it from Package Explorer to the UML Model.

  • No labels