Import a locator

In order to import a locator, an existing locator must be selected in the Project Tree. The selected locator is then overwritten and replaced by the imported locator. After import, you can use this locator as it is or make any necessary modifications.

If you would prefer to keep the existing locator, but also import another locator, use the Import as New option because it appends the imported locator to a class rather than overwriting an existing locator.

You can import a locator by following these steps:

  1. Open the Project Tree window if it is not already open.
  2. Optionally, view the class contents if they are not already displayed.

    The hidden class contents are displayed.

  3. Select the locator in the Project Tree that you are overwriting.
  4. On the Design tab, in the Edit group, click Import Import icon.
  5. When prompted, click Yes to confirm overwriting the locator.

    The Import Locator window is displayed.

  6. Select the locator file and click Open.

    The imported locator is now visible and the previous settings are overwritten.

  7. Optionally, modify the locator as needed.