Editing Operations and Attributes

To edit the members of a class or interface, choose one of the following methods:

Using the Properties view:

  1. From the menubar, select Window > Show View > Properties.


  2. 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:

  1. Right click on the element.


  2. Select Open from the context menu. The Editor opens and highlights the line of code.


  3. Make any necessary changes.


  4. From the menubar, select File > Save. The diagram and source code are updated.

Using in-place editing :

  1. In the Diagram view, double click the member name to enable in-place editing.


  2. Enter the necessary changes.


  3. 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.