Jump to: navigation, search

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


Line 5: Line 5:
 
# 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]]
#* by opening and connecting the new MetaClass to the [[Object Editor]] control
+
#* by opening and connecting the new MetaClass to the ''[[Object Editor]]'' control
 
# Save the object with {{key press|Ctrl|S}}
 
# Save the object with {{key press|Ctrl|S}}
  

Revision as of 09:17, 23 July 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 following the steps

  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
    Derive new object
  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. Obviously, a MetaClass is also an instance of CUSTOMMETACLASS and hence, can be treated as a Content Object as well.

See also