6.8 Definitions Element in the Selection Tree
In the Selection Tree it is possible to define generic nodes, conditions, and modifiers that can be used in many places in a Selection Tree. These tree elements can be referred to from places in the tree by linking to them, see Figure 80. Links between this type of generic data should be used when the data is to be used in more than one place in the Selection Tree. The advantage is that the generic data only needs to be updated in one place for the entire Selection Tree and redundant information is avoided.
Nodes, conditions, and modifiers that should be generic are added under Definitions. Tree elements that are linked to are marked by a link icon. Descriptions of the icons, used for linking, are found in Table 54.
| Description | |
|---|---|
| 1 | Definitions All selection tree entries placed under this node icon are generic definitions. Nodes, conditions, and modifiers can be used as definitions. |
| 2 | Linked selection tree entry. The rating rule data in the node, condition or modifier with this icon is a generic definition. A definition with a link icon, means that something links to the definition. Tree elements under Definitions, that are not marked with a link icon, is not used anywhere in the selection tree. |
| 3 | Linked selection tree entry. The rating rule data in the node, condition or modifier with this icon is a generic definition. A definition with a link icon means that something links to the definition. Tree elements under Definitions that are not marked with a link icon are not used anywhere in the selection tree. |
| 4 | Selection tree data locked. In Figure 80 a locked node link icon is used but modifier- and condition links can also be locked. For the anchored selection tree entry, an arrow is displayed in the lower left corner, which indicates that the rating rule data is defined as generic data under Definitions. In this example, it uses the data defined in the section indicated as 3 . It also displays a lock in the upper right corner, indicating that the data is locked for editing. Unlocking of data is performed by choosing the link icon and clearing the Locked check box. |
| 5 | References By selecting a used anchored selection tree entry and choosing Show References from the context-sensitive menu, an application window is displayed, showing all references to where the generic data is used in the selection tree. It is possible to jump directly to a referenced entry by clicking on it. If data is changed here it affects all instances where the data is used in the selection tree. |
It is possible to see existing links to an object in the selection tree. This is done by selecting Show References from the context-sensitive menu on the selected object, or by pressing CTRL+R. If the object has any links to it, a dialog window appears showing all the tree paths where it has been linked. If the object has no links, the option Show References is disabled in the context-sensitive menu, and no results will show when pressing CTRL+R. See Figure 81 for how Show References lists links to an object.
To find the source of a link, right-click the linked object to bring up the context-sensitive menu, select Goto Link Target. This locates the source object in the selection tree structure.