Jump to: navigation, search

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


Line 1: Line 1:
 
== Step by step ==
 
== Step by step ==
 
# Open the control [[Class Browser]]
 
# Open the control [[Class Browser]]
# Create a new [[MetaClass]] via ''Derive new object'' from the context menu
+
# 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 control [[Object Editor]]
 
# Open the control [[Object Editor]]
# Set the newly created MetaClass to the control
+
# Set the newly created MetaClass as context object to this control
# Set name, description and namespace
+
# Set ''Name'', ''Description'' and ''Namespace'' properties
 
# Save the changes
 
# Save the changes
  
Line 11: Line 12:
  
 
==See also==
 
==See also==
* [[UBIK Studio Basics]]
 
 
* [[Create a new MetaProperty]]
 
* [[Create a new MetaProperty]]
  
[[Category:UBIK Studio]][[Category:How to...]]
+
[[Category:How to...]][[Category:UBIK Studio]]

Revision as of 18:29, 13 May 2013

Step by step

  1. Open the control Class Browser
  2. Locate and select the MetaClassyou want to derive your new class from
  3. Create a new MetaClass via Derive new object from the context menu
  4. Open the control Object Editor
  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