Customizing the metamodel : Keywords for USRPROPS : DISPLAY
  
DISPLAY
Causes the property and its value to be displayable on the symbol. Values may be displayed as KEY, NONKEY, LIST or STRING (default).
Format of the DISPLAY statement
DISPLAY { FORMAT [ String | List | Key | NonKey | COMPONENT_SCRIPT | COLUMN_SCRIPT | SCRIPT ] LEGEND " (how the block will be labeled in the graphic symbol) " }...
FORMAT keywords
STRING
Causes the values of the property to appear on the symbol exactly the way they are typed. See STRING for an example.
LIST
Causes items to be displayed on the symbol in a list: each whitespace character causes a new line, unless the whitespace falls in double quotes. See LIST for more information.
KEY
Use this keyword for properties designated as keys. They are displayed in a separate section of the symbol. See KEY for an example and further information.
NONKEY
You may use this keyword for non-key properties. They will be displayed in a separate section of the symbol. This keyword was originally used for entities and tables in System Architect’s data modeling support. See NONKEY for an example.
COMPONENT SCRIPT
Calls a script written in SA/Basic. The component scripts are used for ListOf and ExpressionOf; the action taken by the script works against each item in the list. For an example, see attributes and operations in the definition of a Class in OMT.
COLUMN SCRIPT
Works like COMPONENT_SCRIPT, calling a script written in SA/Basic. The column scripts are used for the behavior of columns in tables in a physical data model. The action taken by the script works against each column in the list.
SCRIPT
Calls a script written in SA/Basic. The script is used for properties that are neither ListOf nor ExpressionOf. A Script takes the value of a property and performs an action, usually to create a particular kind of annotation. For example, see the definition of a Class for OMT object-oriented analysis. Both the property constraint and the property abstract use a script.
Dividing the properties with LEGEND
Each property is divided by a line with a label, or legend. You can optionally supply a LEGEND to appear on the dividers. If a LEGEND is not supplied, the property name itself is the label. A line with no legend is produced by using the value " " (two double quotes surrounding a space). You may force no line to appear by using the value "None".
In the quotes after the LEGEND keyword, specify how the block is labeled in the symbol, using one of these:
LEGEND "<Your Text>"
The text in the quotation marks will be displayed on the symbol above the entry, only if there is a value for the entry.
LEGEND ""
Displays a straight line without any words, only if there is a value for the entry.
LEGEND "$$FORCE$$"
Displays a horizontal line above the entry on the symbol. This line acts as a divider. The "$$FORCE$$" keyword is different than simply using " ", in that it forces display of a horizontal line even if the property display is suppressed through the display mode dialog.
LEGEND "$$NONE$$"
Does not display a horizontal line above the entry on the symbol, whether or not there are values for the entry. This line normally acts as a divider.
LEGEND "$$VFORCE$$"
Enables you lay out properties from left to right inside symbols, and draws vertical lines between them. See VFORCE keyword.
LEGEND "$$VNONE$$"
Enables you to lay out properties from left to right, but does not provide a dividing line. See VNONE keyword.
Example
DEFINITION "Organizational Entity" { PROPERTY "Incumbent Name" { EDIT Text LENGTH 100 HELP "Name of person currently in position"
DISPLAY { FORMAT String LEGEND "" } }