To move source files and correct the
references to those
files, use the refactoring function of the workbench.
With refactoring, you can
move EGL source files to a new location
in an EGL package in your workspace:
- In the Project Explorer
view, right-click the file and then click .
The Move window opens.
- In the Move window, select a destination
for the file. You can
create a new package for the file by clicking the Create
Package button.
- To see a list of all of the changes
that EGL will make if you
proceed, click Preview.
- If you clear Update
references to the moved elements,
EGL will not search other files for references to change. In most
instances, select this check box.
- Click OK.
When you move a file, the following changes occur:
- EGL
moves the file to the new location
- EGL updates the package statement
in
the file
- EGL searches the build path for references to parts
in the file
and updates references and import statements
as necessary