You can define conditions for user-defined types, states,
and attributes:
User-defined type: the object subtype
to which the rule will apply, according to the types defined in your
data model.
State: the runtime state to which the
rule will apply: selected, expanded, collapsed, in the legend, or
level of detail (high, medium, or low). Expanded, and collapsed can
only apply to nodes.
Attribute: the name of an attribute
of the object in your data model, for which a specific value is tested.
You can set a more or less restrictive rule by adding
more or less conditions. The plus sign (+) allows you to add a condition.
The minus sign (-) removes the corresponding condition. The more conditions
a rule has, the more it is specific and the higher its priority.
An attribute condition tests one or more attributes against
a value. If you select an attribute, you must then set a condition
on its value by selecting an operator from the second drop-down list
and entering a value. You can set several attribute conditions.
The operator drop-down list reflects the type of the
attribute: integer, real or string. For integer or real attributes,
the operator menu offers equals
, does
not equal
, greater than
, greater
than or equal to
, less than
, less
than or equal to
. For string attributes, the operator
menu offers equals
, does not
equal
, contains
. You can
also simply test the presence of an attribute in the data model (exists
and not null
).