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.
Expansion methods and the optional update methods are known as hot spots. You add Java™ code to the hot spots to dictate the pattern behavior when an argument value is added to or removed from a parameter. The following methods show the expansion methods:
To assist you with your code design, refer to the resources available in the pattern online help for the pattern framework and other references. To open the references, click API reference or Extention Points Reference and then click one of the Patterns topics.
, expand eitherTo add expansion code:
Parent topic: Supplying implementation code for patterns
Related concepts
Pattern code and support files
Pattern expansion
Related tasks
Defining update methods
Regenerating source code
Regenerating pattern definitions