NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #5 (closed task: fixed)

Opened 2010-02-15T13:26:56-06:00

Last modified 2010-03-01T12:46:06-06:00

Find tools for UML generation

Reported by: curtis Owned by: rlentz
Priority: major Milestone: progress-report
Component: Core Version:
Severity: non-issue Keywords:
Cc: Blocked By:
Blocking:

Description

We want to generate UML diagrams and other visualizations of the ImageJ class hierarchy, to aid in understanding and prioritizing work.

Attachments

util.svg (58.2 KB) - added by rlentz 2010-03-01T12:23:43-06:00.
Util Package
text.svg (208.0 KB) - added by rlentz 2010-03-01T12:23:59-06:00.
Text Package
process.svg (1.7 MB) - added by rlentz 2010-03-01T12:24:10-06:00.
Process Package
plugin.svg (2.6 MB) - added by rlentz 2010-03-01T12:24:19-06:00.
Plugin Package
measure.svg (403.1 KB) - added by rlentz 2010-03-01T12:24:29-06:00.
Measure Package
macro.svg (1.1 MB) - added by rlentz 2010-03-01T12:24:38-06:00.
Macro Package
io.svg (911.1 KB) - added by rlentz 2010-03-01T12:24:47-06:00.
IO Package
ij.svg (1.4 MB) - added by rlentz 2010-03-01T12:24:56-06:00.
IJ Package
gui.svg (2.1 MB) - added by rlentz 2010-03-01T12:25:06-06:00.
GUI Package

Change History

comment:1 Changed 2010-02-15T13:27:04-06:00 by curtis

One useful tool is  UMLGraph, which generates UML diagrams from Java class hierarchies using javadoc (as a doclet) and  Graphviz:

java -cp $CP:/Users/curtis/apps/UMLGraph-5.2/lib/UmlGraph.jar \
  org.umlgraph.doclet.UmlGraph -public \
  -sourcepath /Users/curtis/code/LOCI/imagej/src \
  ij ij.gui ij.io ij.macro ij.plugin ij.plugin.filter \
  ij.plugin.frame ij.process ij.text ij.util \
  -output - | dot -Tpng -oImageJ.png -Gratio=0.7

In practice, though, we may need to limit this to 1-2 packages at a time.

comment:2 Changed 2010-02-19T14:55:39-06:00 by curtis

  • Owner changed from curtis to rlentz
  • Status changed from new to assigned

comment:3 Changed 2010-02-25T11:47:20-06:00 by rlentz

  • Status changed from assigned to accepted

comment:4 Changed 2010-02-25T12:52:38-06:00 by rlentz

In addition to the tools already mentioned, IBM's Rational Software Architect Standard Edition has several tools that can automate some of the modeling and analysis processes we are likely to take on. Specifically, the use of Java to UML through the specification of a transformation and Software Analysis features.

comment:5 Changed 2010-03-01T12:22:43-06:00 by rlentz

9 UML Diagrams were created covering the current ImageJ code base. Files are respective of package and thus vary in size.

Changed 2010-03-01T12:23:43-06:00 by rlentz

Util Package

Changed 2010-03-01T12:23:59-06:00 by rlentz

Text Package

Changed 2010-03-01T12:24:10-06:00 by rlentz

Process Package

Changed 2010-03-01T12:24:19-06:00 by rlentz

Plugin Package

Changed 2010-03-01T12:24:29-06:00 by rlentz

Measure Package

Changed 2010-03-01T12:24:38-06:00 by rlentz

Macro Package

Changed 2010-03-01T12:24:47-06:00 by rlentz

IO Package

Changed 2010-03-01T12:24:56-06:00 by rlentz

IJ Package

Changed 2010-03-01T12:25:06-06:00 by rlentz

GUI Package

comment:6 Changed 2010-03-01T12:26:39-06:00 by rlentz

  • Status changed from accepted to closed
  • Resolution set to fixed

comment:7 Changed 2010-03-01T12:46:06-06:00 by curtis

Which tool did you use to generate these diagrams?