Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Display Inherited Attributes
When displaying a Class with attributes in a diagram, you can also show the inherited attributes from all parents in the element's type hierarchy (ancestors).
Access On diagram | Right-click element | Features & Properties | Feature and Compartment Visibility (Ctrl+Shift+Y)
Enable Display of Inherited Attributes
In the 'Inherited Features' panel, select the 'Show Attributes' checkbox.
You can also override an inherited attribute's initial value, selecting the 'Features & Properties | Override Attribute Initializers' option to display the 'Override Attribute Initializers' dialog.
When you view the inherited attributes, the system merges the list of attributes from all ancestors and applies the attribute initializers, so that the final child Class displays the correct attribute set and initial values.
Field/Option/Button |
Action |
See also |
---|---|---|
Variable |
Click on the drop-down arrow and select the variable name. |
|
Operator |
Click on the drop-down arrow and select the appropriate operator. |
|
Value |
Type a new initial value. |
|
Note |
Type in any comments or notes concerning the variable. |
|
OK |
Click on this button to save the variable and close the dialog. |
Example
Learn more