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:
- Click to open the New Project
wizard.
- Select the Show All Wizards check box, expand Plug-in
Development, click Plug-in Project, and
click Next
- If the Confirm Enablement window opens, click OK to
enable the Eclipse plug-in development capability. This
may assist you in using these instructions.
- On the Plug-in Project page, type a name in
the Project name field, and click Next to
open the Plug-in Content page.
- Accept the defaults on this page and click Next to
open the Templates page.
- 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.
- Click Next to go to the Pattern
Library page.
- Accept the default names for the pattern library and click Finish.
- 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.
- 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.