Right click on an open project in the Eclipse Package Explorer and select: New-Other-AgileJ-Batch
Whole projects can be included/excluded from the batch run. With the checkbox Also restrict population to selected projects unchecked class diagram seed types will be sourced from the selected projects only, but the whole workspace will be used to complete the population of the class diagram. For example, where a class diagram is populated by inheritance, although the seed must originate from a selected project, the generated class diagram may also include supertypes from unselected projects. Hence to restrict both the seeding and the populating to the selected projects choose this option.
Note that this is a coarse filtering mechanism for filtering of seeds and population which is applied in addition to the type selectors described below
There are four class diagram generators:
There is a wizard page for each generator. Each generator initializes the filter script in the class diagrams it generates.
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.
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.
The batch data is create in a new folder called batch which is located off the parent folder you specify.
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 select. 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.
Select the Run immediately if you would like the batch to run straight away in the Eclipse IDE, or deselect it if you intend to run the batch from the command line.
After pressing Finish the batch process will start if selected to. The console view will become visible so that you can monitor the progress of the batch.
Copyright © AgileJ Ltd. All rights reserved.