NodePropsExtras.mesa
Copyright Ó 1986 by Xerox Corporation. All rights reserved.
Created May 9, 1986
Michael Plass, May 9, 1986 10:29:27 am PDT
NodePropsExtras: CEDAR DEFINITIONS
~ BEGIN
This section deals with attributes of property names. Attributes are just tags associated with the property names that modify the way the properties are treated by Tioga. The most important attribute is $Visible, which says whether or not the value of the property can affect the appearance of the formatted document; if such a property's value is changed (at the TextEdit level or above), the node and all of its children will be repainted. The attributes are associatiated with the code that is currently loaded and registered, not with documents. Refer to NodePropsImpl for a list of meaningful attributes.
DeclarePropertyAttribute: PROC [name: ATOM, attribute: ATOM];
Associates an attribute with a property name.
Is: PROC [name: ATOM, attribute: ATOM] RETURNS [BOOL];
Tests whether the named property and a given attribute.
GetPropertyAttributes: PROC [name: ATOM] RETURNS [LIST OF ATOM];
For completeness only; list is read-only.
SetPropertyAttributes: PROC [name: ATOM, attributes: LIST OF ATOM];
For completeness only; list is read-only.
END.