Supplying implementation code for patterns

The implementation code is the basic code that supports the construction of all Rational® patterns. This code is added partly by the creation of the pattern library plug-in project and partly by the addition of the pattern signature by using the Pattern Authoring view.

About this task

Creating a pattern begins with the pattern library plug-in project that represents the pattern library. Patterns and parameters are added to the library by using the New Pattern wizard. Additional parameters can be added to the pattern and pattern and parameter properties can be modified by using the Pattern Authoring view. The pattern author adds Java code to the implementation model to specify the expansion behaviors.
Note: When adding code, remove the local @generated tag from the modified source code to prevent the pattern authoring tool from overwriting or deleting your changes.

Feedback