Jump to: navigation, search

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


Line 10: Line 10:
 
# Save the object with {{key press|Ctrl|S}}
 
# Save the object with {{key press|Ctrl|S}}
  
== Technical implementation ==
+
== 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 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.
  

Revision as of 09:54, 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 to the MetaClass the context menu was opened at. New derivates can be created for any system MetaClass such as BASECLASS, REFERENCE, SELECTIVELIST, … etc.

See also