Jump to: navigation, search

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


Line 11: Line 11:
  
 
== Background information ==
 
== Background information ==
The system creates a new instance of ''CUSTOMMETACLASS'' and sets the ''INHERIT'' property to the MetaClass the context menu was opened at. New derivates can be created for any [[Basic System MetaClasses|system MetaClass]] such as ''BASECLASS'', ''REFERENCE'', ''SELECTIVELIST'', … etc.
+
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==
 
==See also==

Revision as of 09:56, 26 June 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
  3. Edit name and description, either
    1. in the Class Browser
    2. by opening and connecting the new MetaClass to the Object Editor control
  4. Save the object with Ctrl+S

Background information

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