Creating and configuring categories

Configure categories to which to assign user-defined patterns in the Patterns Explorer view.

Before you begin

Complete the following task:

About this task

You can drag your user-defined pattern into any existing category, or you can create a new category. If you create a category, you can write a category specification that provides information about the category for other users. User-defined patterns are shown within these categories in the Patterns Explorer view.

Procedure

To create a new category, update the category specification, assign your pattern to a category, rename a category, or remove a category, begin by opening the Categories tab of the Pattern Authoring editor. You can now choose one or more of the following options:

  • To create a new category as a subcategory of an existing category:
    1. Select an existing category.
    2. Click Add Category.
      The Add Category window opens.
    3. Enter the name of your new category and click OK.
      The new category is added to the category list under the category previously selected. The Save Your Pattern File window opens, asking you to confirm whether you want to save your patterns file. Click Yes.
  • To edit the category specification for a category:
    1. Double-click the category.
      The HTML editor opens containing the default category specification.
    2. Update the category specification to describe the category, and click File > Save to save any changes.
  • To assign your user-defined pattern to a category, drag your user-defined pattern to your chosen category.
  • To rename a category:
    1. Click Rename Category.
      The Edit Category window opens.
    2. Enter the new name, click OK.
      The Save Your Pattern File window opens, asking you to confirm whether you want to save your patterns file.
  • To remove a category, click Remove category.
    The Save Your Pattern File window opens, asking you to confirm whether you want to save your patterns file. Click Yes.