Moving parts

To move parts between source files and to correct references to those parts, you can use the refactoring function of the workbench.

To move a part:

  1. Select the part that to move by using one of the following methods:
    • In the EGL editor, place the cursor on the part name and right-click
    • In either the Outline, Parts List, or Parts Reference view, right-click the part.
    • For generatable parts, in the Project Explorer view, right-click the file that contains the part.
  2. In the pop-up menu, click Refactor > Move. The Textual Move window opens.
  3. In the Textual Move window, select a new source file for the part. To create a new file to put the part into, you can click Create EGL file. If you are moving a generatable part, the target source file must have the same name as the part.
  4. To view a list of the changes that EGL will make if you proceed, click Preview.
  5. If you clear Update references to the moved elements, EGL will not search other files for references to change. In most cases, select this check box.
  6. Click OK.
When you move a part, the following changes occur:

Feedback