Stereotyped Element Appearance

Written Date: June 24, 2006
User Rating: / 1 Hits: 1,734
Add your comment

With the configurable stereotype appearance including fill, line and font, stereotyped elements can be easily distinguished and emphasized in the diagram.

Animated Demo

Configuring Stereotype Appearance

1. Select menu Tools > Configure Stereotypes... .
2. In the Configure Stereotypes dialog box, select a model type in Model elements and the target stereotype in Stereotypes (in this example we selected "Entity Bean" - a pre-defined stereotype of Class). Click the Edit... button.
3. The Stereotype Specification is shown.
4. To apply fill color to stereotype, select the Use checkbox and click the ... button of the Fill property.
5. Select a fill color in the Format Fill dialog box and click OK.
6. To apply line style to stereotype, select the Use checkbox and click the ... button of the Line property.
7. Configure the line style in the Format Line dialog box and click OK.
8. To apply font to stereotype, select the Use checkbox and click the ... button of the Font property.
9. Select a font in the Select Font dialog box and click OK.
10. Click OK in the Stereotype Specification when finished configuring the stereotype appearance. Click OK when returned to the Configure Stereotypes dialog box.

Applying Stereotypes to Shape

1. Right-click on a shape and select Stereotypes > Stereotypes... from the popup menu.
2. Select a stereotype in the All list, click Add Selected to add it to the Selected list.
3. Click OK in the specification dialog box. The stereotype is applied to the model, and the stereotype's appearance is applied to the shape.

Changing Stereotype Appearance

1. Select menu Tools > Configure Stereotypes... . Select a model type in Model elements and the target stereotype in Stereotypes. Click the Edit... button.
2. We will modify the stereotype fill color in this example. Click the ... button of the Fill property.
3. Select orange as fill color, click OK.
4. When returned to the Stereotype Specification dialog box, click OK to close it. When returned to the Configure Stereotypes dialog box, ensure the Apply changes to stereotypes in current project option is selected, otherwise stereotypes already used in the current project will not be updated. After that, click OK to close the dialog box.
5. The appearances of shapes that assigned the changed stereotype are updated.

Related Resources

• Know more about Visual Paradigm for UML - A powerful visual UML CASE tool.
http://www.visual-paradigm.com/product/vpuml/
• Know more about DB Visual ARCHITECT - Java Persistent Code Generator for Relational Database
http://www.visual-paradigm.com/product/dbva/
• Know more about Business Process Visual ARCHITECT - Easy and Intelligent Business Process Modeler
http://www.visual-paradigm.com/product/bpva/
• Know more about Smart Development Environment - An UML modeling extension for leading IDEs
http://www.visual-paradigm.com/product/sde/
• Get the Free 30 Days Trial of Visual Paradigm's Products
http://www.visual-paradigm.com/download/
Software Maintenance VP-UML User's Guide

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code