Jump to: navigation, search

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]] inside the {{Class Browser}}
+
# 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

  1. Navigate to the favoured parent MetaClass in the Class Browser control
  2. Create a new child MetaClass via Derive new object from the context menu
  3. Open the Object Editor control
  4. Set the newly created MetaClass as context object to this control
  5. Set Name, Description and Namespace properties
  6. 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