Chapter 4 Extending your Models with Profiles


Custom Symbols (Profile)

A custom symbol allows you to modify the appearance of instances of the metaclass, stereotype, or criterion.

Steps To create a custom symbol:

  1. Right-click a metaclass, stereotype, or criterion in the Profile category and select New→Custom Symbol.

    A new custom symbol is created under the selected category.
  2. Specify a default width and height in the Default Size groupbox.
  3. Click the Modify button to open the Symbol Format dialog box, and set the required properties on the various tabs:


    For more information on the Symbol Format dialog box, see "Symbol format properties" in the Diagrams and Symbols chapter of the Core Features Guide .
  4. Click OK to return to the resource editor, where you can view your changes in the Preview field.
  5. Click Apply to save your changes.

Custom symbol for a link

When you customize the line style of a link symbol, such as a PDM reference for example, the parameters you select in the Style list and in the Arrow groupbox in the Line Style tab replace the one you may have selected in the Display Preferences dialog box. This can provoke confusion in the model coherence. To avoid that confusion and preserve the method definition of your model, you should use the Notation attribute in the Style list and or in the Arrow groupbox. This attribute is only available in the Profile.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.