Download oXygen User Manual for Eclipse

Transcript
Editing documents
Saving documents
The edited document can be saved with one of the actions:
• File → Save (Ctrl+S) to save the current document.
• File → Save As: Displays the Save As dialog, used to name and save an open document to a file; or
save an existing file with a new name.
• File → Save All: Saves all open documents. If any document does not have a file, displays the Save
As dialog.
Closing documents
To close documents use one of the following methods:
• File → Close (Ctrl+F4) : Closes only the selected tab. All other tab instances remain.
• File → Close All (Ctrl+Shift+F4): Closes all opened documents. If a document is modified or has no
file, a prompt to save, not to save, or cancel the save operation is displayed.
• Close - accessed by right-clicking on an editor tab: Closes the selected editor.
• Close other files - accessed by right-clicking on an editor tab: Closes the other files except the selected tab.
• Close all - accessed by right-clicking on an editor tab: Closes all open editors within the panel.
Creating and sharing new document templates
Creating a new document template
<oXygen/> enables user defined templates to be created. Templates are created by adding an existing
document to the Template library.
Procedure 4.5. Creating New Templates
1.
Open the document that will be used to create the Template.
2.
Modify the structure and content as required.
3.
XML → Add to templates (Ctrl+Shift+A) or press the toolbar button
Add to templates to
display the Add templates dialog used to define the name by which the current document content
will be recognized in the New from templates option.
4.
Enter the name by which the template will be known. Click OK the document is added to the list of
Personal Templates.
5.
Test the template using the From File option.
31