Searching in field types

Procedure

  1. Choose Edit > Advanced Search and Replace to display the Advanced Search and Replace window.
  2. On the Search in tab, select the types of fields you want to find in the model by checking them in the list at the top of the window.
  3. The Element name, User code, and Other text check boxes display the fields associated with them. For example, if only User code is checked, only the code-related fields (Actions, Configuration initialization, Initial value, Operation bodies, and Type declarations) are checked. Similarly, if only Other text is checked, only the text-related fields are checked. The possible values are as follows:
    • Comment specification scans all the comment specifications for the specified string
    • Configuration initialization scans all the configuration init code segments for the specified string
    • Constraint specification scans all the constraint specifications for the specified string (Chinese, Korean, Taiwanese, and Japanese are supported in this field and stored as RTF.)
    • Descriptions scans all the descriptions for the specified string
    • Enumerationliteral value scans the literal value of the enumeration type for the specified search string.
    • Initial value scans the initial value fields for attributes and arguments for the specified search string
    • Label scans all the labels for the specified search string
    • Locally overridden property scans the locally overridden properties for the specified search string.
    • Multiplicity scans the Multiplicity field of associations for the specified search string.
    • Name scans all the element names for the specified search string
    • Operation bodies scans operation bodies, including operations defined under classes, actors, use cases, and packages for the specified search string
    • Requirement ID scans all requirements for the specified ID code
    • Requirement specifications scans all requirement specifications for the specified search string. (Chinese, Korean, Taiwanese, and Japanese are supported in this field and stored as RTF.)
    • Tag Value scans the value of the tags for the specified search string.
    • Transition label scans the transitions on actions, guards, and triggers for the specified label
    • Type declarations scans all the user text in "on-the-fly" types for the specified search string.
  4. You can also specify that the Element name, User code, and Other text be included or excluded from the search.
  5. Click Find to list the fields that meet your search criteria at the bottom of the window.
    Find window - Search in tab

Results

You can highlight an item in the list and replace it.


Feedback