Image img =
IltSystem.GetDefaultContext().getImageRepository().getImage("logfull.png");
IltSettings.SetValue("OSI.Availability.LogFull.OOS.Icon", img);
IltSettings.SetValue("OSI.Availability.LogFull.NT.Icon", img);
IltSettings.SetValue("OSI.Availability.LogFull.CT.Icon", img);
In this example, the graphic representation of status
IltOSI.Availability.LogFull
has been replaced in all valid primary state combinations.
You can also set different images to
different primary state combinations by using the state name, for
example, “OSI.Availability.LogFull” or
“OSI.Procedural.Initializing”, followed by the primary state
combination (OOS, NT or CT) and the property name (Icon). For
example:
IltSettings.SetValue("OSI.Availability.LogFull.OOS.Icon", img);
or
IltSettings.SetValue("OSI.Procedural.Initializing.NT.Icon", img);