The IBM® Rational® Rhapsody® search
facility is available to use in Eclipse for various operations.
About this task
- Perform standard search-and-replace
operations
- Search for the following types:
- unresolved elements in a model
- unloaded elements in a model
- units in the model
- both unresolved elements and unresolved units
- Work with the search results
Procedure
To access Rational Rhapsody search
in Eclipse:
- With your Rational Rhapsody model
open in Eclipse, choose to open the Search window.
(You can also right‑click an element in the model browser and select Search.)
- For the Rational Rhapsody search
facility, click the Rhapsody tab. (You can
also right‑click an element on the model browser and select Search
inside.)
In the Rational Rhapsody search
facility you can use any of the standard search facilities. You can
also customize your search using the following buttons.
- Exact string allows a non-regular expression
search. When selected, the search looks for the string entered into
the search field (such as char*).
- Wildcard allows wildcard characters in the
search field such as * and produces results during
the search operation that include additional characters. For example,
the search *dishwasher matches class dishwasher and
attribute itsdishwasher.
- Regular Expression allows the use of Unix‑style
regular expressions. For example, itsdishwasher can
be located using the search term [s]dishwasher.
The search results display in the Search tab
of the Eclipse output window.
Results
After locating elements using the Search
facility, you can perform the following operations in the Search window:
- Sort items
- Check the references for each item
- Delete
- Load
To sort the items in the list, click the heading
for the column to sort according to information in that column.