Deleting and replacing pattern arguments

You can delete or replace an argument in a pattern instance. When you delete an argument, its related bindings are removed from the pattern instance. When you replace an argument, the old argument is deleted and the new one is bound.

In the diagram editor, you can replace an argument with an existing argument using drag and drop gestures, as shown in the following screen capture.
Replacing an argument by dropping an element on the pattern instance.
If you want to replace the argument by creating a new element, use the following task.

To replace an argument in a pattern instance:

  1. In the diagram editor, click the name or value of the parameter in the pattern instance.
  2. Click again to begin editing the selected name or value and type the name of a new or existing element.
Note: You can also replace or delete multiple pattern arguments by using the Apply Pattern wizard, Pattern Parameters page by right-clicking the pattern instance and clicking Patterns > Pattern Parameter.
Related concepts
Apply pattern process
Pattern instantiation
Related tasks
Unbinding pattern arguments
Reversing pattern application
Reapplying patterns
Reviewing pattern information
Using the Apply Pattern wizard
Using drag and drop
Related reference
Pattern icons
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.