You can automatically generate Javadoc HTML documentation with
Unified Modeling Language (UML) diagram images by using the default Javadoc
options and formats.
You must have installed a Java™ Development Kit (JDK) (Sun JDK Version
1.4.2 or compatible) that contains a Javadoc executable file.
To automatically generate Javadoc HTML documentation with UML diagram
images:
- In the Package Explorer view, select a Java project
and click .
- In the Generate Javadoc wizard, select the Javadoc
command (the executable file); then complete the following steps:
- To include diagram images for packages, click For packages.
Every package summary page contains a diagram image showing the content of
the packages.
- To include diagram images for Java types, click For types.
Every Java type
(class or interface) summary page contains a diagram showing extends, implements,
usages, and inner types to one level of depth.
- Select an Image type. Available formats are
GIF, JPG, and BMP.
- To place the diagram images in the code and include new diagram
image tags, click Contribute diagrams and diagram tags to source.
- Click Finish.
Note: This will alter the code and insert UML diagram
images into your project. Now you can generate Javadoc HTML documentation
by clicking .