RAD Studio (Common)
ContentsIndex
PreviousUpNext
Adding Participants to the Patterns as First Class Citizens

Patterns as First Class Citizens are represented by the GoF patterns. When such patterns are applied, the elements are created with the standard number of participants. However, you can add allowed participants to the existing pattern object. If you add participants, links between the pattern object and the new participants are created.

To add a participant to a GoF pattern:

  1. Select the oval pattern element in the Diagram View or Model View
  2. Right-click on the pattern element choose Add from the context menu. The submenu presents the list of allowed participants.
  3. Choose the required participant from the submenu.
  4. In the Pattern Action Wizard, specify the name of the new participant, and click OK.
    Tip: If the participant with the specified name already exists, it is reused.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!