Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Set Element Parent
You can manually set an element's parent or parents, or an interface it realizes (implements), using the Set Parents and Interfaces dialog.
How to
To set an element parent
Step |
Action |
See also |
||||
---|---|---|---|---|---|---|
1 |
Select a generalizable element in a diagram.
|
|
||||
2 |
Select the Element | Advanced | Set Parents and Interfaces menu option. Alternatively:
The Set Parents and Interfaces dialog displays.
|
|
||||
3 |
You can elect to enter a parent or interface name by either manually typing it in, or clicking on the Choose button to locate the element within the current model.
|
|
||||
4 |
Set the Type of relationship (Implements or Generalizes) from the drop-down list.
|
|
||||
5 |
Click on the Add button to add the relationship to the Type Details list, and to the selected child element.
|
|
||||
6 |
Repeat this process to add further parent elements, or click on the Delete Selected button to remove a selected relationship.
|
|
If the parent name is shown in the element on the diagram, you can select it and perform further operations, as follows:
Step |
Action |
See also |
||||||
---|---|---|---|---|---|---|---|---|
1 |
Click on the element.
|
|
||||||
2 |
Click on the parent name to highlight it.
|
|
||||||
3 |
Right-click to display the context menu, which provides options enabling you to:
Find the parent element in the diagram. If the parent element does not currently exist in the model, and is listed on the element in the diagram, you can highlight it and click on it to redisplay the Set Parents and Interfaces dialog to, for example, delete it or add further parents.
|
|
Notes
• | You can specify parent elements that exist in the model, or that you intend to create later; if the parent element does not currently exist in the model, select the Accept classifier even if not in model checkbox to ensure that the reference to a non-existent element is accepted |
• | If Parents are not in the same diagram as their corresponding related element, the parentage is shown in the top right corner of the child element |