New Pattern wizard, General page

You use the General page of the New Pattern wizard to supply the properties needed to add a new pattern to the pattern library. The pattern library is created when a new pattern plug-in is created.

Pattern Name
Indicates the pattern name that identifies the pattern for the pattern applier. It is used as a default name to create the pattern's Java™ class and other files that implement the pattern. You can change the default name to provide a name that is more descriptive of the pattern's use.
Class Name
Indicates the class name that identifies the primary Java class for the pattern implementation. A default name is supplied based on the pattern name with the following character exceptions: spaces and special characters are deleted and the initial character is capitalized. Accept the default name or type a different one.
Package
Indicates the package that contains all of this pattern's implementation code. The default is the project name (library), the word "Patterns," and the pattern name, each separated by a dot for example, myProjectName.Patterns.myPatternName. Accept the default or type a new name.
Pattern Type
Sets the type of the pattern instance. Choose from Collaboration (the most common), Class, and Package depending on what you want the pattern to accomplish when applied.
Target Type
Indicates the UML 2.0 type of the target element to which the applier can apply the pattern. The default allowable types vary with the Pattern Type you select. You can limit the target types by deselecting a checked option. At least one option must be selected.
Parameters
Lists each parameter as you add and define it by using the Add button located to the right of this field.
Add
Click to open the New Pattern Parameter window to define new parameters for the pattern. You can also add or modify pattern parameters from the Pattern Authoring view after the pattern is created.
Edit
Click to open the Edit Pattern Parameter window to modify a parameter you have defined for the pattern. You can also modify pattern parameters from the Pattern Authoring view after the pattern is created.
Remove
Click to remove a defined parameter.
Groups
Lists the groups for this pattern. Groups organize patterns in the Pattern Explorer view. At least one group is required for each pattern. A pattern can belong to several groups and a pattern does not have to share any groups with the other patterns owned by the library. Groups are not project specific in the Pattern Explorer view. Patterns from multiple projects assigned to, for example, a group named Architecture Patterns; all appear together in this group.
Add
Add one or more groups or accept the default group assignment.
Remove
Delete any group, including the default group.
Version
Indicates the version of the pattern to help you control multiple variations of the same pattern. This may be useful when patterns are created, published, tested, and then returned to the pattern author for design changes.
Related tasks
Adding patterns and parameters to libraries
Adding parameters to patterns
Adding dependencies to parameters
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.