The list of items provided in the list for a ListOf command can be filtered. Filter keywords are available such as OF DEFINITION REFERENCED IN and OF DEFINITION AND SUPERS REFERENCED IN.
Example
The example below shows the code for an object definition, which includes the property “Attributes”, which is a ListOf “Class Attributes”. “Class Attributes” is another definition type, defined in SAPROPS.CFG.
Definition "Object"
{ ..
PROPERTY "Attributes" { ZOOMABLE EDIT LISTOF "Class Attribute" OF DEFINITION REFERENCED IN "Class"
The figure below shows the default ListOf dialog created by the LISTOF command. It includes a Choices button, which, when pressed, presents a list of all definitions of the referenced type (“Class Attribute” in this example) in the encyclopedia. The OF DEFINITION REFERENCED IN command in the above code specifies that only those class attributes contained in the object's class are listed.