Adding classes and interfaces to Java packages in domain modeling class diagrams

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

  1. In the diagram editor, right-click a Java package; then click Add Java > Class or Add Java > Interface.
  2. 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.

Feedback