Rational Programming Patterns

Working with the thesaurus

In the thesaurus you can give explanations on keywords and assign synonyms to keywords at the location level or only assign synonyms. The thesaurus is not locally saved but entirely managed from the server. The thesaurus contents are not the keywords entered on the instances and must then be explicitly entered.

Before you begin

The Rational Team Concert™ Server must be started and a repository connection must exist.

Procedure

  1. In the Design Explorer view, right-click an open location and select Thesaurus in the menu.
  2. In the Thesaurus, you can perform the following actions:
    • Add keywords, one by one, by clicking Add. A new line is created, with keyword in the Name column. Double-click keyword and overwrite it with your own keyword. Then you can explain the meaning of this keyword and assign synonyms or only assign synonyms to it.
      • You explain the meaning of the keyword in the Description column. It can be helpful in case of codes, abbreviations, or words specific to an application.

        Also, keywords can be used as a tool to categorize instances according to your own criteria. For example, you can describe keywords that correspond to the various development phases of an application: VAL that you describe as to be validated, or OK that you describe as ready for production...

      • You assign one or more synonyms to the keyword in the Synonyms column. For example, you can assign several synonyms to the keyword VAL: Validation, Validate. This method eases the coding rules of keywords.

        A Keywords and synonyms search criterion is available on the Server Design Search tab. If you select this search criterion and enter the principal keyword in the Search string field, the search finds the instances that contain the principal keyword and the instances that contain its synonyms.

        Building a synonym chain is not possible. For example, if A is a principal keyword, with B and C as synonyms, you cannot declare B or C as principal keywords, and you cannot attach B or C to another principal keyword.

      All your modifications are immediately available on the server.

    • Import the keywords contained in an xml file by clicking Import.
    • Export the keywords contained in the currently open thesaurus by clicking Export.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)