Starting the default Java editor from diagrams

In UML visualization, you can start the default Java editor from the diagram editor to make modifications to the source code of Java classes and interfaces.

Note: Changes that you make to the source code are automatically reflected in the corresponding diagram.

To start the default Java editor, in the diagram editor, right-click a Java class or interface; then click Navigate > Open.

The Java file opens in the default Java editor and you can modify the source code.

Note: To open the default Java editor, you can double-click a Java classifier or relationship.

 

Parent topic

Navigating to Java source code from diagrams

 

Related concepts

Class diagrams

 

Related tasks

Automatically navigating to the source code of Java diagram elements
Navigating to the source code files of Java diagram elements