Using drag and drop

You must create a pattern instance as the first part of applying a pattern to your model design. Patterns that you can apply always appear in the Pattern Explorer view. You can drag the pattern to a UML 2.0 model or to a model's diagram editor.

The Apply Pattern wizard is another, more structured, tool option to apply patterns and it creates the pattern instance in the UML 2.0 model. You can create multiple concurrent instances of the same pattern.

You can only drag a pattern to elements that can own the type of pattern you are applying (collaboration, class, or package pattern).

To create a pattern instance, complete either of the following steps:

After a pattern instance is created, you can modify it by supplying arguments for one or more of the pattern's template parameters. The arguments depend on the pattern design and your requirements for use of the pattern.
Related concepts
Pattern instantiation
Apply pattern process
Related tasks
Using the Apply Pattern wizard
Using drag and drop
Specifying arguments for pattern instances
Modifying pattern instances
Reviewing pattern information
Setting pattern preferences
Importing patterns
Related reference
Pattern icons
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.