Assign Icons To Toolbox Items

How to

To assign an icon to a toolbox item

Step

Action

See also

1

Create a new «stereotype» element in the same toolbox profile as the toolbox item.

 

 

2

Give the «stereotype» element the same name as the attribute that it is assigning an image to; for example, in the diagram below:

 

MyTech::MyStereo(UML::Class)

 

 

3

Give the «stereotype» element an attribute named Icon with Initial Value set to the full path and file name of the image to be used.

The icon image is a 16x16 pixel bitmap file; for a transparent background, use light grey - RGB(192,192,192).

 

 

4

Create an Extends association from the «stereotype» element to a «metaclass» element named ToolboxItemImage.

 

 

 

ToolboxItemImage