You can start the default Java editor
from domain modeling class diagrams to make modifications to the source
code of Java classes and interfaces.
Before you begin
Note: Changes that you make to the source code
are automatically reflected in the corresponding diagram.
You must
be in the Java perspective and have a class diagram
open.
About this task
To start the default Java editor
from a class diagram, in the diagram editor, right-click a Java class or interface; then click.
What to do next
Note: To open the default Java editor,
you can also double-click a Java classifier
or relationship in the diagram editor.