Browse Prior Art Database

Use of Named Global Variable Pools for Inheritance of Properties

IP.com Disclosure Number: IPCOM000103338D
Original Publication Date: 1990-Oct-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 1 page(s) / 45K

Publishing Venue

IBM

Related People

Barrett, G: AUTHOR [+4]

Abstract

This article describes how to use named Global Variable pools for the inheritance of properties. Properties that can affect an object may be set by the user at different levels. The user may set property values at an Office window level, at the Object template level (New Icons Folder) or at the object item (i.e. instance) level. An object when it is active must be able to get the correct value for the properties that affect it. The application should use the Common Services Variable Pool services to create and maintain named global variable pools. A set of APIs will be provided to do the following: - Create a named global variable pool. - Create and assign storage to a variable pool variable. - Modify a variable within the named pool. - Locate and retrieve a variable from a desired pool. - Close a variable pool.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 81% of the total text.

Use of Named Global Variable Pools for Inheritance of Properties

      This article describes how to use named Global Variable pools
for the inheritance of properties.  Properties that can affect an
object may be set by the user at different levels.  The user may set
property values at an Office window level, at the Object template
level (New Icons Folder) or at the object item (i.e.  instance)
level.  An object when it is active must be able to get the correct
value for the properties that affect it.  The application should use
the Common Services Variable Pool services to create and maintain
named global variable pools.  A set of APIs will be provided to do
the following:
-   Create a named global variable pool.
-   Create and assign storage to a variable pool variable.
-   Modify a variable within the named pool.
-   Locate and retrieve a variable from a desired pool.
-   Close a variable pool.

      The variable pools and the variables within the pools are
referenced, using the provided APIs, by name.  Thus
"background_color" may be the name of a properties variable that is
in the pool "document_template".  The office window will create and
maintain a named variable pool for properties.  The New Icons Folder
will create a named pool for each template.  Each object instance is
responsible for its own variable pool.  The order of search for a
value of a particular property should be object instance first,
followed by the template pool, follow...