Next: Auto Split, Previous: Tracking Mode, Up: Usage Reference [Contents]
Right-clicking an entity name (for signalling charts), a block name (for block diagrams)
or a node name (for graphs) brings up the context menu for the internal editor. In that
there is a Rename...
menu item, which replaces all occurrence of this name in the
source file to something else. Note that this does not replace the label of the
entity, block or node (which will be shown in the compiled graphics), but how it is
referred to from the source file. The resulting chart, diagram or graph remains visually
the same after such a rename. However, it enables you to quickly change how you refer to
these elements.
In case of signalling charts the value of the relative
entity attribute
(Entity Attributes) is the name of another entity. These attribute values
are not renamed - you need to manually adjust the name.
In case of block diagrams, names are hierarchical. That is a box B
inside
a box A
is called A.B
in its full name - even if it can be referenced
as just B
from within A
. (More than two levels of nesting is possible.)
When you click on a name with multiple levels (such as A.B
) only one part of it
will be renamed - based on where you click. Only the actual block specified by the
clicked name is renamed (even if there are blocks with the same name elsewhere), but that
block is renamed at every place it is mentioned (even in attribute names and alignment
modifiers, Alignment modifiers.
It is possible to perform the replace only in one part of the source text. Simply select the desired part and click on the element to rename (may be outside the selection). Only the mentions of this entity inside the selection will be replaced. This allows you switch from using one element to another (spilt a single element into two). Using the name of an already existing element will make the renamed ones refer to the already existing element (merge two elements into one).
Next: Auto Split, Previous: Tracking Mode, Up: Usage Reference [Contents]