You can use domain modeling class diagrams to add classes
and interfaces to Java packages.
Before you begin
In the
Java Perspective, open a domain
modeling class diagram that contains Java packages.
About this task
To add a class or interface to a Java package,
complete the following steps:
Procedure
- In the diagram editor, right-click a Java package;
then click or .
- Follow the instructions in the New Java Class or New
Java Interface wizard.
What to do next
Tip: You can also use the package action bars
or the Palette to add classes and interfaces
to Java packages.