Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Apply Auto Naming to Existing Elements
If you have set up auto-naming conventions for the names and/or Aliases of specific types of element, you can apply those conventions to all of the existing elements of those types in a selected package, in one operation.
You apply auto-naming through the Apply Auto Naming to Elements dialog. This groups the elements that have auto-naming conventions by type, and shows the effects of applying the conventions to the element names and/or Aliases. You can change all the element names in the package, or select only certain elements to update.
Access Project Browser package context menu | Apply Auto Naming to Elements
Apply Auto-naming to elements
Field/Option |
Action |
See also |
||||
---|---|---|---|---|---|---|
Current Name |
Initially displays the name of each element type that has auto-naming conventions, and the number of elements of that type in the package. Click on the '+' symbol to expand the type group and list the elements of that type by their current name, with the most recently created element first. Select the checkbox against each element to be renamed, or against the element type name to select all elements in the group. Deselect the checkbox to leave the element name and Alias at their current values.
|
|
||||
Name Preview |
Initially shows the elements' current names. When you select the element checkboxes, the names change to show the effect of applying the auto-naming conventions to each element name.
|
|
||||
Alias Preview |
Initially shows the elements' current Aliases. When you select the element checkboxes, the Aliases change to show the effect of applying the auto-naming conventions to each element Alias.
|
|
||||
All |
Click on this button to select all elements listed on the dialog.
|
|
||||
Clear |
Click on this button to clear the selection of all selected elements.
|
|
||||
Update Name
|
||||||
Prefix Auto Name to Current Name
|
Set the change to the auto-name text followed by the current name. |
|
||||
Overwrite current Name with Auto Name
|
Replace the current name with the auto-name text. |
|
||||
Move current Name to Notes Apply Auto Name
|
Show the current name in the Notes field in the element Properties dialog (in front of any existing notes) and overwrite the element Name field with the auto-name. |
|
||||
No change |
Leave the current names unchanged.
|
|
||||
Update Alias
|
||||||
Prefix Auto Alias to Current Alias
|
Set the change to the auto-Alias text followed by the current Alias. |
|
||||
Overwrite current Alias with Auto Alias
|
Replace the current Alias with the auto-Alias text. |
|
||||
Move current Alias to Notes Apply Auto Alias
|
Show the current Alias in the Notes field in the element Properties dialog (after any replaced element name text, but in front of any existing notes) and overwrite the Alias field with the auto-Alias. |
|
||||
No change |
Leave the current Aliases unchanged.
|
|
||||
Include sub packages |
Select this checkbox to include elements in sub-packages in this run of applying auto-naming (the checkbox reverts to deselected when the dialog is closed).
|
|
||||
Configure Auto Naming |
Click on this button to immediately define automatic naming conventions for an element type if:
The Auto Name Counters dialog displays, on which you define your automatic element and/or Alias naming convention. When you click on the Save button on that dialog, any elements of that type in the package are listed on the Apply Auto Naming to Elements dialog.
|
|||||
OK |
Click on this button to close the dialog and put the naming changes into effect.
|
|
||||
Cancel |
Click on this button to close the dialog and cancel any naming changes you have defined.
|
|
Notes
• | If you select this facility and there have never been any auto-naming conventions defined in the model, the Current Name column displays the message Configure Auto Naming; click on the Configure Auto Naming button to define any conventions for any element type you need |
• | The contents of packages that are locked under version control will not be auto-named |
• | Because you are applying auto-naming to existing elements, the auto-naming set up Apply on Creation setting has no impact on this operation |
• | The Apply Auto Naming to Elements dialog is resizable; if you want to expand or reduce the dialog, drag its edges to the size you want |