Managing Files and Folders
The Hierarchical and Flat tabs of the Explorer window show all the defined search paths as well as the files with the defined file extensions. In the Hierarchical tab, you can create, rename or delete files or folders. Also, you can move files and folders to other positions under each path entry and recreate ghost files.
All of the actions in the Explorer window are performed by means of the context menu or by using drag-and-drop. The content of the context menu depends on the file, folder, or area from where it is called. The following context menu commands appear if you right-click anywhere into the blank area within the Explorer window:
•Show Empty Folders: This command toggles on and off the display of folders that do not contain any files with file extensions defined in the Configure Paths tab.
•Add search path: This command is only available if you are connected to the LocalServer. It changes to the Configure Paths tab and opens a dialog box where you can define the settings for a new search path.
If you right-click a file or folder, the following context menu commands may appear:
•Rename (F2): Renames the selected file or folder.
•Delete (Delete): Deletes the selected file or folder from the file system.
•New: This command is available for folders. It opens a sub-menu from where you can choose to create a new file or folder.
•Reload: Reloads the selected file from the disk. You can also select several files and run the Reload command to reload the files in one single step.
•Recreate: This command is available only if you have selected at least one ghost file. It creates a new rudimentary file with the name of the ghost file.
•Correct reference paths (Ctrl+R): This command is available only if you have selected at least one file with a reference to a ghost file. It opens a dialog box where you can search for the ghost file in different locations.
•Synchronize Selection: If you have a design open in the Design window, this command selects the same files in the Design window that are selected in the Explorer window.
•Edit files in MapForce (Ctrl+M): Opens the selected .mfd file in MapForce for editing (provided that you have installed MapForce).
•Edit files in XMLSpy (Ctrl+Y): Opens the selected file in XMLSpy for editing (provided that you have installed XMLSpy).
•Insert files into clipboard (Ctrl+C): Copies the selected files to the clipboard so that you can paste them into a Design window.
•Insert files into current design (Insert): Adds the selected files to the design that is currently open in the Design window.
Any change made in the Hierarchical and Flat tabs (such as renaming or deleting files, or changing the include, import, or redefine relationships) automatically affects any file referencing the changed file. Since there is no Undo command available for these actions, it is highly recommended that you have a working backup system or use source control software when working with SchemaAgent Client.