Jump to: navigation, search

Difference between revisions of "HowTo:Create a new MetaClass"


Line 1: Line 1:
 +
[[File:IL_HowTo_CreateMetaClass_01.png|thumb|alt=Derive new object|Derive new object]]
 
A new [[MetaClass]] has to be created as a derivative (child) from another class (parent). This can easily be done in the ''[[Class Browser]]'' control by
 
A new [[MetaClass]] has to be created as a derivative (child) from another class (parent). This can easily be done in the ''[[Class Browser]]'' control by
  
 
# Navigate to the favoured parent MetaClass in the Class Browser
 
# Navigate to the favoured parent MetaClass in the Class Browser
# Create a new child MetaClass with ''Derive new object'' from the context menu<br/>[[File:IL_HowTo_CreateMetaClass_01.png|220 px|alt=Derive new object|Derive new object]]
+
# Create a new child MetaClass with ''Derive new object'' from the context menu<br/>
 
# Edit name and description, either
 
# Edit name and description, either
 
#* in the [[Class_Browser#Editing_name_and_description_of_an_object|Class Browser]]
 
#* in the [[Class_Browser#Editing_name_and_description_of_an_object|Class Browser]]

Revision as of 12:45, 23 September 2013

A new MetaClass has to be created as a derivative (child) from another class (parent). This can easily be done in the Class Browser control by

  1. Navigate to the favoured parent MetaClass in the Class Browser
  2. Create a new child MetaClass with Derive new object from the context menu
  3. Edit name and description, either
  4. Save the object with Ctrl+S

Technical background

The system creates a new instance of CUSTOMMETACLASS and sets the Inherit property with the parent MetaClass. A custom MetaClass is consequently also an instance of CUSTOMMETACLASS and can be treated as a Content Object.

See also