ComponentType Meta-Tag

See Also: Class Meta-Data Tags

Purpose

Used by the Studio to determine what component category a source file belongs to.

Syntax

 

{ ComponentType={TypeName} }

where {TypeName} can be one of:

Use

The Studio uses predefined categories to classify source files as components, such as views or reports. In most cases, developers would not override this classification. An exception may be if a class is not used as the component type the Studio typically uses this class for, but modified for another purpose.

Example:

The dbModalPanel is used by the Studio as a container for selection lists. A developer could use another class, for example the ToolPanel class, to act in similar ways to a selection list.

This sample code shows how to indicate that a class should be listed as a lookup list component.

{ ComponentType=SLClass }

Class LookupToolPanel is a ToolPanel

End_Class

Of Special Note

The ComponentType class meta-data tag is inherited.