Jump to: navigation, search

Difference between revisions of "HowTo:Make an Object show a Status LED"


Line 4: Line 4:
 
'''Criterion 1:''' The object's [[MetaClass]] implements the [[SYSCLS_STATUSCOLOR]] classification
 
'''Criterion 1:''' The object's [[MetaClass]] implements the [[SYSCLS_STATUSCOLOR]] classification
 
# Set the SYSCLS_STATUSCOLOR classification on the MetaClass of the object, using the ''[[Class Details#Classification|Class Details]]'' control<br/>[[File:UI_HowTo_StatusLED_01.png|220px|border|alt=Class Details|Class Details]]
 
# Set the SYSCLS_STATUSCOLOR classification on the MetaClass of the object, using the ''[[Class Details#Classification|Class Details]]'' control<br/>[[File:UI_HowTo_StatusLED_01.png|220px|border|alt=Class Details|Class Details]]
# Ensure that the [[MetaProperty]] gets added to the MetaClass's property list<br/>[[File:UI_HowTo_StatusLED_02.png|220px|border|alt=STATUSCOLOR property|STATUSCOLOR property]]
+
# Ensure that a [[MetaProperty]] named '''STATUSCOLOR''' of data type integer is added to the MetaClass's property list<br/>[[File:UI_HowTo_StatusLED_02.png|220px|border|alt=STATUSCOLOR property|STATUSCOLOR property]]
 
# Save the changes with {{key press|Ctrl|S}} or the save command
 
# Save the changes with {{key press|Ctrl|S}} or the save command
  

Revision as of 16:00, 18 December 2014

Appearance of the Status LED

An object implementing the status color classification a status LED icon is shown in the ContentBrowser's list of objects.

Criterion 1: The object's MetaClass implements the SYSCLS STATUSCOLOR classification

  1. Set the SYSCLS_STATUSCOLOR classification on the MetaClass of the object, using the Class Details control
    Class Details
  2. Ensure that a MetaProperty named STATUSCOLOR of data type integer is added to the MetaClass's property list
    STATUSCOLOR property
  3. Save the changes with Ctrl+S or the save command

See also