Run the diagram creation wizard by selecting File-New-Other. Eclipse will prompt you to select a wizard.
From the AgileJ folder select Diagram then press Next.
Note: the Batch wizard also listed will only be present if you have the batch feature installed.
Choose this option to make a blank canvas which you will populate manually.
This options populates the new class diagram with all types found in the currently selected Java package. This option is selected by default if you invoke the wizard by right clicking on a package in the Eclipse package explorer.
This option populates the new class diagram with subtypes and supertypes. This option is selected by default if you invoke the wizard by right clicking on a type or .java file in the Eclipse package explorer. The type you click on is the seed type.
This option populates the new class diagram with dependent types (incoming dotted arrows) and dependency types (outgoing dotted arrows) of a specifiable seed type.
The wizard pages which follow depend upon the option which you choose. For now, select the first option to just make an empty diagram onto which you can drag classes from the package explorer.
Finally you are asked where you would like to locate your new diagram file and how to name it. You can store it wherever you like in the workspace. If you have set a default diagram folder this this location will be offered first.
When you have chosen a location and file name press Finish.
A new editor will open in the workbench with a canvas ready to have classes dragged onto it.
On the first of the wizard pages above was the option to create a pre-populated diagram by selecting populate
These options create a diagram containing a group of related types. The types are collected non-recursively.
Copyright © AgileJ Ltd. All rights reserved.