The Project view is designed to assist the user in organizing and managing related files grouped in the same XML project. The actions available on the context menu and toolbar associated to this panel, enable the creation of XML projects and shortcuts to various operations on the project documents.
The default layout initialized by the Project view on the left side of the Oxygen window, above the Outline view. A closed view can be quickly reopened at any time with the menu action.
menu item positions theThe files are organized in an XML project usually as a collection of folders. There are two types of folders:
You can create linked folders by dragging and dropping a folder from the Windows Explorer / Mac OS X Finder over the project tree or by selecting in the contextual menu
. Also the structure of the project tree can be changed with drag and drop operations on the files and folders of the tree.When adding files to a project, the default target is the project root. To change a target, select a new folder. Files may have multiple instances within the folder system, but cannot appear twice within the same folder.
To create a file inside a linked folder, choose the
action from the contextual menu.If a project folder contains many documents, a certain document can be quickly located in the project tree if the user selects with the mouse the folder containing the desired document (or some arbitrary document in this folder) and types the first characters of the document name. The desired document is automatically selected as soon as the typed characters uniquely identify its name in the folder. The selected document can be opened by pressing the Enter key, by double-clicking it and with one of the Open actions from the pop-up menu. To open a file of known type with other editor than the default one, use the Open with action.
The project file is saved automatically on disk, every time the content of the Project view is modified by actions like adding or removing files or folders and drag and drop to/from the Project view.
The currently selected files in the Project view can be validated against a schema of type Schematron, XML Schema, Relax NG, NVDL, or a combination of the later with Schematron with one of the following contextual menu actions:
The currently selected files in the Project view can be transformed in one step with one of the actions available on the right-click menu of , and the Project view. This, together with the logical folder support of the project allows you to group your files and transform them very easily.
If the resources from a linked folder in the project have been changed outside the view,
you can refresh the content of the folder by using the Refresh action from the contextual menu. The
action is also performed when selecting the linked resource and pressing F5 key
A list of useful file properties like the ones available in the Properties view can
be obtained with the Properties action of the contextual menu invoked on a file node of the
Project view tree, in the following dialog:
Right-clicking any object in the tree view displays the Project menu with functions that can be performed on, or from the selected object. Options available from the Project menu are specific to the object type selected in the tree view.
You can also use drag and drop to arrange the files in logical folders (but not in linked folders). Also, dragging and dropping files from the project tree to the editor area results in the files being opened.