Changes

HowTo:Create a new MetaClass

170 bytes added, 15:46, 2 February 2015
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, thereforeby
# Navigate to the favoured parent [[MetaClass]] inside in the {{Class Browser}}# Create a new child MetaClass via with ''Derive new object'' from the context menu# Open the <br/>[[Object EditorFile:UI_HowTo_CreateMetaClass_01.png|220 px|alt=Derive new object|Derive new object]] control # Set the newly created MetaClass as context object to this controlEdit name and description, either# Set * in the ''Name'', ''Description[[Class_Browser#Editing_name_and_description_of_an_object|Class Browser]]'' #* by opening and connecting the new MetaClass to the ''Namespace[[Object Editor]]'' propertiescontrol# Save the changesobject with {{key press|Ctrl|S}}
== Technical implementation background ==The system creates a new instance of ''[[CUSTOMMETACLASS'' ]] and sets the ''INHERITInherit'' property to with the parent MetaClass the context menu was opened at. New derivates A custom MetaClass is consequently also an instance of CUSTOMMETACLASS and can be created for any treated as a [[Basic System MetaClasses|system MetaClassContent Object]] such as ''BASECLASS'', ''REFERENCE'', ''SELECTIVELIST'', … etc.
==See also==
* [[HowTo:Create a new MetaProperty]]* [[HowTo:Add_a_MetaProperty_to_a_MetaClass|Add a MetaProperty to a MetaClass]]
[[Category:Studio]]
[[Category:How-To]]
[[Category:UBIK Studio]]
10,686
edits

Help improve this page!