Difference between revisions of "HowTo:Create a new MetaClass"
Line 2: | Line 2: | ||
# Locate and select the [[MetaClass]] you want to derive your new class from | # Locate and select the [[MetaClass]] you want to derive your new class from | ||
# Create a new MetaClass via ''Derive new object'' from the context menu | # Create a new MetaClass via ''Derive new object'' from the context menu | ||
− | # Open the | + | # 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 | ||
# Set ''Name'', ''Description'' and ''Namespace'' properties | # Set ''Name'', ''Description'' and ''Namespace'' properties |
Revision as of 09:28, 26 June 2013
- Open the Class Browser control
- Locate and select the MetaClass you want to derive your new class from
- Create a new 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.