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.

To create the pattern project and the pattern library:

  1. Click File > New > Project to open the New Project wizard.
  2. Select the Show All Wizards check box, expand Plug-in Development, click Plug-in Project, and click Next.
  3. If the Confirm Enablement window opens, click OK to enable the Eclipse plug-in development capability. This may assist you in using these instructions.
  4. On the Plug-in Project page, type a name in the Project name field, and click Next to open the Plug-in Content page.
  5. Accept the defaults on this page and click Next to open the Templates page.
  6. Select the Create a plug-in using one of the templates check box and, in the list of available templates, click Plug-in with Patterns.
  7. Click Next to go to the Pattern Library page.
  8. Accept the default names for the pattern library and click Finish.
  9. If the Confirm Perspective Switch window opens, click YES to open the Plug-in Development perspective. This may assist you in using these instructions. The new pattern library node appears in the Patterns Authoring view, the supporting RAS metafile for the library and the Java classes for the pattern library are created.
  10. If the Confirm Enablement window opens, click OK to enable the Reusable Asset Management capability. This capability, based on the Reusable Asset Specification (RAS) based capability supports the packaging and documentation of the pattern.
You are ready to add patterns and parameters to the new pattern library.
Related concepts
IBM Rational design patterns
Pattern code and support files
Related tasks
Adding parameters to patterns
Assigning patterns to groups
Adding dependencies to parameters
Setting pattern property values
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.