Moving parts

You can use the refactoring function of the workbench to move parts between source files and correct references to those parts.
  1. In one of the following places, select the part that you want to move:
    • Place the cursor on the part name in the EGL editor and right-click
    • Right-click the part in the Outline view, Parts List view, or Parts Reference view
    • For main parts, right-click the file containing the part in the Project Explorer view
  2. In the popup menu, click Refactor > Move. The Textual Move window opens.
  3. In the Textual Move window, select a new source file for the part. You can click Create EGL file to create a new file to put the part into. If you are moving a main part, the target source file must have the same name as the part.
  4. You can click Preview for a list of the changes that EGL will make if you proceed.
  5. If you clear the Update references to the moved elements check box, EGL will not search other files for references to change. Generally, select this check box.
  6. Click OK.
Moving a part makes the following changes:

Feedback