You can add attributes and operations to an element using the in-place editing options. To add attributes and operations to a Class diagram element, follow the steps below:
| 1. | Open the diagram containing the element to which you are adding an attribute or operation. | 
| 2. | Click on the element, and within the element on the item after which to insert the operation or attribute. The item line is highlighted in a lighter shade (the default is white), to indicate that it has been selected. 
  
  
  | 
| 3. | Press . Alternatively, right-click on the selected element item to display the context menu and select the  menu option. 
  
Enterprise Architect inserts a new data line in the diagram, underneath the selected item. | 
| 4. | Type in the relevant information for the attribute or operation. Press  to accept the change or  to cancel the change. The diagram is updated to reflect the changes. |