CDPropertyTools.mesa a ChipNDale module
Copyright © 1986 by Xerox Corporation. All rights reserved.
Created by Ch. Jacobi, January 13, 1986 2:06:18 pm PST
Last edited by: Christian Jacobi, September 19, 1986 1:48:41 pm PDT
DIRECTORY
CD;
CDPropertyTools: CEDAR DEFINITIONS =
BEGIN
Property features which enable tool implementor's to guarantee to their clients that they
can safely unregister some state without exactly knowing what properties were used.
IsExclusive: PROC [key: REF] RETURNS [BOOL];
--Returns whether the "key" property is exclusive.
-- An exclusive property must not be used interactively
-- [but also properties with non Atom keys shouldn't]
RemoveProperties: PROC [key: ATOM];
--Removes
-- this property from layers
-- this property from itself
-- layerkeys from this property
-- further properties as associated
--Exclusive properties are ignored
Associate: PROC [key, a: ATOM];
--Associates "a" to "key":
-- whenever RemoveProperties[key] is called, the "a" property on "key"
-- and the "key" property on "a" will both be removed.
--Exclusive properties are ignored.
END.