Pattern Organizer

From RAD Studio
Jump to: navigation, search

Go Up to Pattern Management

Tools > Pattern Organizer

The Pattern Organizer enables you to logically organize patterns using virtual trees, folders, and shortcuts. In the Pattern Organizer, you can view and edit properties of patterns. In the Pattern Organizer, you are working with shortcuts to patterns, not with actual patterns. Shortcuts to the same pattern can be included in several virtual folders. The Pattern Organizer provides three panes: Virtual pattern trees, Properties, and Pattern Description.

The Pattern Organizer enables you to:

  • Create virtual pattern trees and virtual folders to logically organize patterns.
  • Create shortcuts to patterns.
  • Assign patterns to shortcuts.
  • Copy, paste, and delete virtual pattern trees, folders, and shortcuts.
  • Save implemented changes of patterns in the Pattern registry.


Virtual pattern trees -- pane

The Virtual pattern trees pane displays the pattern trees organizing the logical hierarchy of patterns.

The Virtual pattern trees pane provides the context menu. Different sets of commands are available on the context menu:

  • For the main root folder of all pattern trees.
  • For subfolders of separate pattern trees.
  • For particular patterns.

The context menu of the root folder

The context menu of the root folder provides the following commands:

Command Description

New Pattern Tree

Creates a root folder for a new pattern tree.

Sort Folder

Sorts nodes under the selected folder in ascending alphabetical order.


The context menu of subfolders

The context menu of subfolders, beneath the root folder, provides the following commands:

Command Description

New Folder

Creates a new subfolder under the selected folder.

New Shortcut

Opens the Pattern Registry, allowing you to create a shortcut to a pattern registered in the Pattern Registry. The shortcut is placed in the selected folder.

Copy

Copies the selected node to the clipboard.

Paste

Pastes the clipboard contents under the selected node.

Delete

Removes the selected node.

Sort Folder

Sorts nodes under the selected folder in ascending alphabetical order.

Export Folder

Exports the selected folder into an XML format file.


The context menu for patterns

The context menu for patterns provides the following commands:

Command Description

Assign Pattern

Opens the Pattern Registry, allowing you to assign to the selected pattern a pattern registered in the Pattern Registry.

Copy

Copies the selected node to the clipboard.

Paste

Pastes the clipboard contents to the selected node.

Delete

Removes the selected node.


Properties -- pane

The Properties pane displays properties of the selected pattern or folder. You can edit the Name and Visible properties.

Property Description

Name

The name of the pattern displayed in the Virtual pattern tree. You can edit this property.

Visible

You can select whether the selected pattern or folder will be visible or hidden in the Pattern Wizard. You can select the value of this property.

Language

For patterns with source code this can be Delphi or C++.

Valid

This field applies only to patterns. If you have registered the particular pattern using the Pattern Registry dialog box, then the status of this pattern is reported as Valid. Otherwise, the pattern status is Invalid, and this pattern is not displayed in the Pattern Wizard. Folders are always considered Invalid and shown in the Pattern Wizard (unless hidden using the Visible property).


Pattern Description -- pane

The Pattern Description pane displays comments for the pattern selected in the Virtual pattern trees pane.


Edit Shared Patterns Roots -- button

Click this button to open the Shared Pattern Roots dialog box. Here you can define the list of shared pattern roots. Use the Add and Remove buttons to make up the desired list, and click OK when ready.


See Also