Editing Java classes and interfaces in domain modeling class diagrams
You can Edit names, fields (attributes), and methods (operations)
of Java™ classes and interfaces
from domain modeling class diagrams.
Before you begin
Procedure
- In the diagram editor, click the name, an attribute, or an operation of a Java class or interface and press F2.
- Type your modifications and press Enter.
Results
The changes are saved to the source code file of the Java class or interface.