Modifying Java classes or interfaces

You can modify names, fields (attributes), and methods (operations) of Java™ classes and interfaces from Unified Modeling Language (UML) class diagrams.

To modify a Java class or interface:
  1. In the diagram editor, click the name, an attribute, or an operation of a Java class or interface and press F2.
  2. Type your modifications and press Enter.

The changes are saved to the source code file of the Java class or interface.

Related concepts
Classes
Classifiers
Related tasks
Adding fields to Java classes and interfaces
Adding methods to Java classes and interfaces
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.