Chapter 14
Definitions
Describes class definitions and shows you how to use them.
- Introduction
- Terminology
- Overview of the Class Definition Process
- Creating Class Definitions
- Storing Definitions on Workspaces
- Class Definition Attributes
- Formatting the Text of Attributes
- Order of Attributes in Tables
- Completing Class Definitions
- Specifying the Item Configuration
- Providing a Class Name
- Specifying the Superior Class(es)
- Entering Direct Superior Classes
- Specifying Direct Superiors Before Creating Their Definitions
- Using Mixin Classes
- Specifying Instance Configurations
- Determining the Class Inheritance Path
- Determining the Initializable System Attributes
- Determining the Inherited User-Defined Attributes
- Defining and Initializing Class-Specific Attributes
- Defining an Untyped Attribute with No Default Value
- Defining an Untyped Attribute with a Default Value
- Defining a Typed Attribute with a Specified Default Value
- Defining a Typed Attribute with a Default Value Provided by G2
- Defining an Attribute as an Object Instance
- Defining an Attribute for Implied Symbolic Reference
- Defining an Indexed Attribute
- Specifying Default Values for Inherited Attributes
- Overriding Default Values of Inherited User-Defined Attributes
- Specifying Default Values of Initializable System-Defined Attributes
- Specifying Instantiability
- Effects of Setting Instantiability Attributes
- Instantiable Classes That Appear in Menus
- Noninstantiable Classes That Appear in Menus
- Classes That Do Not Appear in Menus
- Order of Classes in the G2 Menu Hierarchy
- Uninstantiable Subclasses
- Specifying an Icon
- System-Defined and User-Defined Icons
- Icon Inheritance
- Using the Icon Editor
- Icon Library
- Creating Object Classes
- System-Defined Object Attributes
- Specifying Attribute Displays
- Specifying Connection Stubs
- Inheriting Default Values for Stubs
- Specifying Other Object Class Attributes
- Attribute Initializations for Variables and Parameters
- Attribute Initializations for Lists and Arrays
- Creating Connection Classes
- System-Defined Connection Attributes
- Defining Connection Regions
- Specifying a Stub Length
- Defining the Junction Block to Use
- Creating a Junction-Block Subclass
- Creating Connection Post Classes
- System-Defined Connection Post Attribute
- Specifying the Superior Connection
- Creating Message Classes
- System-Defined Message Attribute
- Specifying Default Message Properties
- Using Specialized Definitions
- Mixing Generic and Specialized Definitions
- Creating an Object Definition
- Creating a Connection Definition
- Creating a Message Definition
- Customizing Definition Classes
- Creating New Classes Programmatically
- Changing Definitions
- Using the Change Attribute
- Adding a Connection Stub to an Object Class Definition
- Changing an Attribute to its Default Value in Instances
- Changing Stubs in Object Class Definitions
- Copying an Inherited Icon-description in Object Class Definitions
- Deleting Connections in Object Class Definitions
- Merging all Instances and Subclasses into a Definition
- Moving Attributes from One Class to Another
- Moving Connections
- Renaming an Attribute
- Updating the Attribute Displays of All instances of a Class
- Updating the Default Message Properties of All Class Instances
- Changing Definitions with the Conclude Action
- Effect on Subclasses and Instances
- Effect on Procedure Statements and Other Items
- Changing Instantiated Classes
- Merging Classes
- Merging Definitions of the Same Type
- Merging Definitions of Different Types
- Completing a Merge
- Deleting a Definition
Copyright © 1997 Gensym Corporation, Inc.