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 plug-in project and partly by the addition of the pattern signature by using the Pattern Authoring view.
Creating pattern projects and libraries
A pattern project is a standard Eclipse plug-in project that employs a Pattern Plug-in template. Creation of a pattern project results in the generation of custom pattern plug-in files, pattern library Java files, and a RAS asset manifest file.Adding patterns and parameters to libraries
The pattern author can add one or more patterns to the pattern library. Each pattern is independent in function and application. However, a pattern can only be distributed with its library in a pattern plug-in.Defining expansion methods
When you add a parameter to a pattern in the Pattern Authoring view, a parameter class with two expansion methods is added to the pattern implementation model.Defining update methods
A pattern can contain multiple parameters where the argument for one parameter, the supplier parameter, is used to calculate the values for dependent (client) parameters. When the user specifies a valid argument for a supplier parameter, the update methods are called to recompute the dependent client parameters.
Parent topic: Defining patterns
Related concepts
IBM Rational design patterns