Rational Software Corp.

TOC PREV NEXT INDEX



Creating Diagram Toolbox and List View Icons

Creating Diagram Toolbox and List View Icons

Diagram toolbox icons and list view icons (icons that appear in the browser) are created in bitmap (.bmp) format. Rational Rose only supports bitmap files saved in the 256-color bitmap scheme. You can create one bitmap file containing several icons, arranged horizontally side by side. Note that the SmallPaletteIndex setting in the configuration file of a stereotype specifies the diagram toolbox icon that belongs to a specific stereotype. The ListIndex setting specifies the list icon that belongs to a specific stereotype. Diagram icons can only be created in Windows Metafile (.wmf) or Enhanced Metafile (.emf) format.

Note: If you create an icon (for example, a list view icon), you will most likely want to create the other three corresponding icons: a diagram icon, a small toolbar icon, and a large toolbar icon.

To create a new icon:

1 Create or open a bitmap file using a program such as Microsoft Paint or the bitmap editor in Microsoft Visual Studio.

    Note: If you are adding several icons to the same bitmap file in Microsoft Visual Studio, use the grid setting in the Image menu to help you see the borders of each icon.

2 Create an icon of the following size and background color:

3 Save the icon as a 256-color bitmap file (.bmp). To save the color setting in Microsoft Paint, select 256-color bitmap from the Save as type list in the Save as dialog box.

    Note: Some of your icon colors may not match precisely because the color palette used by the toolbars is limited.


Adding Stereotypes to the Diagram Toolbox

To make a stereotype available as a button on a diagram toolbox:

1 Create a stereotype and a corresponding diagram toolbox icon. For information on how to do that, refer to Creating Stereotypes on page 183.

2 Click Tools > Options, and click the Toolbars tab.

3 Under Customize Toolbars, click on the diagram type for which you want to change the toolbox.

    - or -

    In an open diagram, right-click in the diagram toolbox and select Customize.

    The Customize Toolbars dialog box is displayed. The leftmost column provides the list of available icons.

4 Select the icon you want to appear on the diagram toolbox and click Add.


Subsystem Stereotype Package

Although closely related to a system, a subsystem is a group of model elements that have specific behavior and objectives. A subsystem is a stereotyped package and is represented by the package icon with the subsystem stereotype.

Note: The term subsystem is also used in the Rose Extensibility Interface (REI). However, there is a specific distinction between each term. In the REI, any package that resides in the component view is considered a subsystem. A subsystem on a Rose diagram is a stereotyped package.


Rational Software Corporation  http://www.rational.com
support@rational.com
docs@us.ibm.com
Copyright © 1993-2000, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX