Specifying an Icon and Custom Tool for a Stereotype

You can specify an icon for a stereotype to allow users to identify instances of the metaclass bearing the stereotype in the Browser, property sheets, and elsewhere in the interface. You can also specify a tool to allow user to create instances from the Toolbox.

  1. In the Stereotype property page, click the Select Icon tool to open the Select Image dialog. Select an appropriate image to use as an icon in the interface and click OK to associate it with the stereotype.
    Note: The icon is used to identify objects in the Browser and elsewhere in the interface, but is not used as a diagram symbol. To specify a custom diagram symbol, see Custom Symbols (Profile).
  2. [optional] To enable a tool to create instances of the metaclass bearing the stereotype from the Toolbox, select Toolbox custom tool. If you do not select this option, users are only able to create instances of the metaclass bearing the stereotype from the Model menu or by right-clicking the model. Custom tools appear in a separate Toolbox group named after the resource file in which they are defined.
    Note: If you have not specified an icon, the tool will use a hammer icon by default.
  3. [optional] Click inside the <Cursor Click Test Area> to preview the look of the tool cursor.
  4. Click Apply to save the changes.