Creating New Documents Based on Templates
The New from Templates wizard allows you to select built-in templates or custom templates that you or other users created in previous sessions. You can access this wizard by selecting the New from Templates option in the New Document wizard.
The categories of templates presented in the wizard include:
- User-defined template directory - You can add your own custom templates by creating template files in a directory and then add that directory to the list of template directories that Oxygen XML Developer Eclipse plugin uses in the Document Templates preferences page. This user-defined directory will appear in the New from templates wizard.
- Global templates - Contains a list of built-in templates as well as any user-defined custom templates that are saved in the templates directory of the Oxygen XML Developer Eclipse plugin installation folder ([OXYGEN_INSTALL_DIR]/templates).
- Framework templates - Contains the list of templates defined in the Document Type configuration dialog box (Templates tab) for each framework.
New from Templates Wizard
-
Click the New button on the toolbar and select New from Templates (or select ).
Result: The New from Templates wizard is displayed where you to select various types of document templates.
- Select the type of document that you want to create and click Next.
- Choose the storage path and a file name for the new document.
-
Click the Finish button.
Result: The new file is created and if the Open file for editing when done option is selected, the new file will be opened in the appropriate type of editor.