Assign Icons To Toolbox Items

To assign an icon to a toolbox item, create a new «stereotype» element in the same toolbox profile as the toolbox item. Have the stereotype element extend a «metaclass» element named ToolboxItemImage. The «stereotype» element must have the same name as the attribute that it is assigning an image to (for example, MyTech::MyStereo(UML::Class) in the diagram below) and must have an attribute named Icon with Initial Value set to the full path and file name of the image to be used. The image must be a 16x16 .BMP file.