Reversing pattern application

You can use the Unapply Pattern menu item to remove the pattern instance and its binding relationships to the pattern arguments. Pattern authors supply the methods to perform when the application of a pattern is reversed so the results of the command will vary.

About this task

By default, elements added to a model as pattern arguments are not removed by use of the Unapply Pattern menu item.

If you want to remove individual argument bindings, use the Unbind Argument menu item.

Procedure

To reverse a pattern application, in the diagram editor, right-click the pattern instance and click Patterns > Unapply Pattern. The pattern instance is deleted from the model.

Feedback