Creating a new Class Diagram Batch

RIght click on an open project in the Eclipse Package Explorer and select: New-Other-AgileJ-Batch

Use of the Eclipse IDE during batch running

The length of time for which your IDE will be busy depends upon the size and number of projects you have open in your workspace and the options which you have selected. It is advisable to try to plan to run a batch while your IDE is not otherwise being used for development. Alternatively, a batch could be run in a separate instance of Eclipse open on a copy of your workspace.

class diagram generator

Class Diagram Generators

There are four class diagram generators:

  • package a class diagram for each package containing the types found in the package
  • inheritance a class diagram for each type containing its subtypes and supertypes
  • composition a class diagram for each type showing it and its field types
  • dependency a class diagram for each type showing its dependency types

There is a wizard page for each generator.

Seed Type Selector

The creation of a class diagram is triggered by the discovery of a qualifying class or interface, known as a Seed Type. By default, all types declared in source code are seed types. To control which seed types are used press the 'Choose...' button to pick a different type selector.

Population Type Selector

Each class diagram generator builds a collection of qualifying types related to the seed type. The population type selector controls which relatives are included. Press 'Choose...' next to the population type selector to change to a different type selector.

Diagram Styles

Each class diagram created by the generators is exported ready to be viewed in read-only form in a browser. Multiple diagram styles are used to create filtered renditions of each class diagram. Click 'Add..' to render each diagram in an additional diagram style. The dialog which opens also allows you to select switch values to be passed to the diagram style as it is used. This gives an opportunity to apply project-specific filtering to your generated class diagrams.

class diagram generation

Batch project title

The project title appears in the browser-viewable pages.

Parent folder

The batch data (temporary and final) is created in a folder called 'batch' located off the parent folder.

class diagrams title

After pressing Finish the batch process will start. The Console view will become visible so that you can monitor the progress of the batch.

uml generator