Pattern Authoring view

You can use the Pattern Authoring view to create basic implementation models for patterns. The pattern implementation model is a result of the pattern author adding one or more patterns and their parameters to a pattern library. The pattern author customizes the Java™ code in the implementation model.

The Pattern Authoring view contains three types of nodes: pattern library, pattern, and parameter. To view the code for patterns and parameters, double-click these nodes or click a node or right-click a node and click Open to view the corresponding code for each in the Java editor. Patterns and parameters can also be deleted or renamed using this view. Renaming does not change the corresponding Java files.

Pattern libraries
A pattern library is created and displayed in the Pattern Authoring view each time you create a new plug-in project with the pattern plug-in template. The pattern library is an Eclipse project and is indicated by the standard Java project icon Java project icon. Each pattern library must include at least one pattern. The pattern library maintains information about its member patterns.
Patterns
As you add patterns, they are nested under the pattern library. You can add one or more patterns to each library. Each of the three types of patterns are represented by a unique icon: collaboration Collaboration icon that represents collaboration type patterns pattern, class Class pattern icon pattern, or package Package pattern icon pattern. The Diagram Overview property is only accessible from the pattern: right-click the pattern and click Show Properties View to modify this property.
Parameters
As you add patterns, they are nested under the pattern library. The UML 2.0 type of the parameter is indicated by an icon that precedes each parameter name.
Related tasks
Adding patterns and parameters to libraries
Modifying patterns during design
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.