Configuration 4 GNU (CFG)


Defining a type

Prev Adding Entities Next

The name attribute of the type element is the name of the element. This is how the type will be represented and identified internally.

The properties element contains zero or more property definitions. Property definitions define what child elements (and attributes) may occur in an element of this type. Inside the properties element include a property element for each property definition. See also Property Definitions.

The extend element identifies a IS A relationship. This has the effect of importing all the property definitions from the specified type into the current type. It also allows classifying a type as a member of other classes. See Classifying a type.

The form element associates elements of a particular type to form definition files that are appropriate for configuring that type. Use the form element's filename attribute to specify a filename. E.g.

Example 5. Specifying the form used to display a type
<form filename="sambashare.xform">
        

Prev Up Next
Layout of a Class Definition File Home Classifying a type

SourceForge Logo