Difference between revisions of "HowTo:Create a new MetaClass"
Line 1: | Line 1: | ||
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, therefore | 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, therefore | ||
− | # Navigate to the favoured parent [[MetaClass]] | + | # Navigate to the favoured parent [[MetaClass]] in the Class Browser control |
− | # Create a new MetaClass via ''Derive new object'' from the context menu | + | # Create a new child MetaClass via ''Derive new object'' from the context menu |
# Open the [[Object Editor]] control | # Open the [[Object Editor]] control | ||
# Set the newly created MetaClass as context object to this control | # Set the newly created MetaClass as context object to this control |
Revision as of 09:35, 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, therefore
- Navigate to the favoured parent MetaClass in the Class Browser control
- Create a new child MetaClass via Derive new object from the context menu
- Open the Object Editor control
- Set the newly created MetaClass as context object to this control
- Set Name, Description and Namespace properties
- Save the changes
Technical implementation
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.