In the Patterns Recognizer view, you can right click on a pattern for additional actions that are associated with that pattern. The menu commands vary according to the pattern selected. For a list of the additions that can be made to each pattern, see Patterns Recognizer Context Menu.
For an example of a pattern action, suppose the Patterns Recognizer view displays the Observer pattern. To add a new Observer class to the corresponding code in your project:
Right click on the Observer pattern.

Select Observer.
Enter the Observer class name in the resulting Add Participant dialog.
NB: Pattern Specific Actions are also available in the Diagram view. Right click on the pattern, and select New.