Configuration 4 GNU (CFG)


Classifying a type

Prev Adding Entities Next

There are a few predefined types available for classifying types. These types include property and section. These types do nothing in themselves, but are types that frontends will look for when trying to decide how to display certain information. The following paragraph describes how the Config4GNU GUI client uses the predefined type classes.

The property type identifies an object that should appear in the property list for an object when it is selected. The property list is found under the Properties tab.

The section type identifies an object that should appear in the tree view in the left pane in the GUI client. It also identifies objects that should appear as children of the current object.

To use the type classes, include the extend element in the type definition. E.g.

Example 6. Type that extends both property and section
<type name="SamplePropertyAndSection">
  <extend type="builtin:property"/>
  <extend type="builtin:section"/>
</type>

Prev Up Next
Defining a type Home Property Definitions

SourceForge Logo