Example: Paste with References

Folder1 in SourceFolder contains a container, the ControllerTest project, the IdleCon module, and a subfolder Folder1a with the Integrator class.

ControllerTest references IdleCon, IdleCon references Integrator. The container contains ControllerTest, IdleCon, Integrator, and another class from a system library.

  1. Folder1 is selected, copied to the clipboard with <Ctrl> + <c>, and inserted into TargetFolder with Edit > Paste with references.

    The references between the four items are updated. The new ControllerTest project in TargetFolder\Folder1 refers the IdleCon module in the same folder. IdleCon refers the Integrator class in TargetFolder\Folder1\Folder1a. The new container contains the three newly created items, as well as the same system library class included in the original container.

    Displaying the references on the new Integrator class in TargetFolder\Folder1\Folder1a reveals that Integrator is referenced by IdleCon and Container from TargetFolder\Folder1.

  2. ControllerTest and IdleCon from SourceFolder\Folder1 and Integrator from TargetFolder\Folder1\Folder1a are selected, copied with <Ctrl> + <c>, and inserted into TargetFolder\Folder2 with Edit > Paste with references.

    The references between the copied items are updated. The new ControllerTest project in TargetFolder\Folder2 refers the IdleCon module in the same folder. IdleCon refers the Integrator class in TargetFolder\Folder2.

  3. ControllerTest, IdleCon, and Container from SourceFolder\Folder1 are selected, copied with <Ctrl> + <c>, and inserted into TargetFolder\Folder3 with Edit > Paste with references.

    The references between the new ControllerTest project, the IdleCon module, and Container are updated. ControllerTest in TargetFolder\Folder3 refers the IdleCon module in the same folder. The new Container contains the two newly created items, as well as the original Integrator class and system library class.

    Displaying the references on the original Integrator class reveals that Integrator from SourceFolder\Folder1\Folder1a is referenced by IdleCon and Container from SourceFolder\Folder1, as well as by IdleCon and Container from TargetFolder\Folder3.

See also

Copying/Moving Folders or Items

Copying and Moving Database/Workspace Items

Displaying References to a Database/Workspace Item