To edit the members of a class or interface, choose one of the following methods:
Using the Properties view:
From the menubar, select Window > Show View > Properties.
Edit the fields in the Properties view. The code and the diagram are updated.
The following properties of an operation can be edited using the Properties view:
The following properties of an attribute can be edited using the Properties view:
Using the Editor:
Right click on the element.
Select Open from the context menu. The Editor opens and highlights the line of code.
Make any necessary changes.
From the menubar, select File > Save. The diagram and source code are updated.
Using in-place editing :
In the Diagram view, double click the member name to enable in-place editing.
Enter the necessary changes.
Press Enter or click in the diagram to apply the changes.
Tip: Whenever you use the in-place editor to change the return type for a void operation, the return statement is automatically inserted within the code reflecting the new return type.