Finding and replacing text
Using Map Designer Express's
Find and Replace capability, you can search for specified text in
any customized Java Code or in the comments of a transformation rule
(or in both) and replace it with other specified text.
Steps for finding and replacing text
Perform the following steps to find and replace text.
- Initiate a find and replace in one of the following ways:
- From the Edit menu, select Replace.
- Use the keyboard shortcut of Ctrl+H.
Result: Map Designer Express displays
the Replace dialog.
Figure 36. Replace dialog
- In the Replace dialog, enter the text to search for in the Find
what field and the text to replace it in the Replace with field.
Select Match case, as necessary.
- Indicate where to Replace in by selecting either Code or Comment
or both.
- Click Find Next to initiate the search.
Result: One of the following results takes
place:
- If you specified Replace in Code, when text is found in the
customized Java code of a transformation rule, Activity Editor will
display with the customized Java code in Quick view mode.
- If you specified Replace in Comment, the Table view will be
activated and the text will appear in the comment column in the
Table view.
- Click Replace to replace the match with the new text.
Guideline: You can replace all similar
matches with one action by clicking Replace All.
- To continue finding and replacing the specified text, instance
by instance, repeat steps 4 and 5.
