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.
Figure: The Project View
By default, the Project view is positioned on the left side of the Oxygen XML Editor window, above the Outline view. A closed view can be quickly reopened at any time with the menu action.
Collapse
All
Link with
Editor
Settings
Filters...The files are usually organized in an XML project as a collection of folders. There are three types of resources displayed in the Project view:
) and a magenta
icon on Mac OS X (
). They help you group
files within the project. This folder type has no correspondent on the physical disk, since
they are used as containers for related items. Creating and deleting them does not affect
the file system on disk. They are created on the project root or inside other logical
folders by using the contextual action . The contextual menu action
Remove from
Project can be used to remove them from the project.
Remove
from Project and
Remove from Project just removes the shortcut from the project, while
).
New
Project...
Add Folder...
).
Add
Files...
Add
Edited FileYou can create physical folders by selecting from the contextual menu.
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.
Remove from Project. To remove a linked file or
folder from both project and local file system, select the contextual menu action
You can move the resources of the project with drag and drop operations on the files and folders of the tree.
You can also use the usual
Cut,
Copy, and
Paste
actions to move resources in the Project view.
To finish editing the item name, press Enter.
If a project folder contains a lot of documents, a certain document can be located quickly in the project tree by selecting the folder containing the desired document and typing the first few 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, or with one of the Open actions from the contextual menu. The files with known document types are opened in the associated editor, while binary files are opened with the associated system application. To open a file with a known document type in an editor other than the default one, use the Open with action. Also, dragging and dropping files from the project tree to the editor area results in the files being opened.
The project file is automatically saved every time the content of the Project view is saved or modified by actions such as adding or removing files and drag and drop.
The currently selected files in the Project view can be checked to be XML well-formed or validated against a schema (DTD, XML Schema, Relax NG, Schematron or NVDL) with one of the following contextual menu actions found in the Validate sub-menu:
Check
Well-Formedness
Validate
Configure Validation Scenario(s)...
Open
Refresh
Find/Replace in Files...
XPath in
Files...
Open/Find
Resource...
Check
Spelling in Files...
Format and
Indent
Open in
SVN Client...
Properties
New
Project...
Open Project ...
(Ctrl F2 (Command F2 on OS
X)
Validate
all project files
Filters
Change Search and Refactor operations scope