Deleting Java elements from domain modeling class diagrams and projects

You can delete Java™ elements from a domain modeling class diagram to remove them from visual representation in the diagram or delete them from both the diagram and project permanently.

Before you begin

You must have a class diagram open.

About this task

When you delete Java elements from class diagrams, the underlying semantics remain intact. When you delete them from a project, the Java elements are deleted from both the diagram and the project permanently.

Procedure

To delete Java elements from a project, in the diagram editor, right-click the selected Java elements; then complete one of the following steps:
  • To delete them from the diagram, click Delete from Diagram.
  • To delete them from both the diagram and project permanently, click Delete from Project.

Feedback