Jump to: navigation, search

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 control [[Object Editor]]
+
# 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

  1. Open the Class Browser control
  2. Locate and select the MetaClass you want to derive your new class from
  3. Create a new MetaClass via Derive new object from the context menu
  4. Open the Object Editor control
  5. Set the newly created MetaClass as context object to this control
  6. Set Name, Description and Namespace properties
  7. 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.

See also