Page title:Introduction

Closed Captioning text:IBM Rational design patterns are applied to Unified Modeling Language 2.0 models to modify a design. To help you start, IBM Rational patterns functionality contains Design Patterns and Sample Patterns.

Page text:Welcome ! This tour gives you an overview of the tools and some of the pattern author and pattern applier features. Creating and using patterns promotes software reuse; a pattern is designed once and is used many times. Tasks related to applying patterns are performed in the Modeling perspective using the Pattern Explorer view.


Page title:Design and Sample Patterns

Closed Captioning text:You can use the Design or Sample Patterns to practice applying different types of patterns and observe the results. The Design Patterns is a group of more advanced patterns that you can apply.

Page text: The pattern is applied to elements in a UML model to modify these elements in a specific way. The Design Patterns capture frequently used or complex structures and processes and their use eliminates redesign and promotes software consistency. Sample Patterns are also available in the Pattern Explorer view.


Page title:Sample Patterns documentation

Closed Captioning text:Another set of pattern samples is available for you to install from the Samples Gallery, the Patterns to apply sample.

Page text:The Sample Patterns are documented and you can open help files for patterns and parameters in the Pattern Explorer view. The documentation opens in the Help window and provides a good way to compare multiple pattern capabilities and requirements.


Page title:Using the Apply Pattern wizard

Closed Captioning text:If you use the Apply Pattern wizard, a pattern instance is created both in the diagram editor and in the model.

Page text:The Pattern Explorer acts like a a toolbox, containing the tools necessary for creating pattern instances. You can create the pattern using the Apply Pattern wizard.


Page title:Using dragging and dropping

Closed Captioning text:You can drag a pattern to a UML 2.0 model or to a model's diagram editor. A pattern instance is created both in the diagram editor and in the model.

Page text: The Singleton pattern is unique and applying it to an element shows the power of patterns to modify elements. One of the methods for applying patterns is to drag the pattern onto an element.


Page title:Using the Pattern Authoring view

Closed Captioning text:You can open the Pattern Authoring view that is required for creating patterns. When a Pattern Authoring plug-in project is opened, a pattern library is created. You can add one or more patterns to the library. You can also add one or more parameters, and one or more subtypes can be specified as target types.

Page text:Using the Pattern Authoring functionality, you can create three types of patterns: Package, Class and Collaboration. The Collaboration type is typically used. You can also control the target types.


Page title:Summary

Closed Captioning text:In addition, pattern authors can create a patterns library example project under the new example plug-in project (UML modeler plug-in examples section) to learn how to create patterns by examining the sample source. The patterns can then be modified and would subsequently show up in the Pattern Explorer view of another run-time instance of the product.

Page text:The Pattern Explorer and Pattern Authoring views contain pattern user-assisted modeling features that make creating complex patterns and applying them to UML models an easy exercise. They enable you to create effective patterns that can be applied to complex UML models.