Insert New Feature

How To:

To add attributes and operations to a Class diagram element, follow the steps below:

Images

Step

Action

See Also

 

1

Open the diagram containing the element to which you are adding an attribute or operation

 

SelectedElement2

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

Either:

  • Press ( Insert ) or
  • Right-click on the selected element item to display the context menu and select the Insert New After Selected 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

Use the ( Tab )  and ( Tab+Shift )  keys to move the cursor through the segments of the attribute or operation, and select the classifier from either the:

  • Autocompletion list (press the ( Ctrl+Space )  keys) or
  • Select <Item> dialog (press the ( Ctrl+Shift+Space )  keys)

Autocompletion List

Select <Item> Dialog

5

Press ( Enter )  to accept the change or ( Esc )  to cancel the change

The diagram is updated to reflect the changes