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.

About this task

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:

Procedure

  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.

Feedback