| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en"> | |
| <HEAD> | |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > | |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> | |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> | |
| <title>File menu</title> | |
| </HEAD> | |
| <BODY BGCOLOR="#ffffff"> | |
| <h1>File menu</h1> | |
| <p>The <b>File</b> menu enables you to create, save, close, print, import, and export Workbench resources and to exit the Workbench. | |
| </p> | |
| <dl> | |
| <dt><b>New</b> (Shift+Alt+N)</dt> | |
| <dd>Enables you to create new resources. | |
| Before you can create a new file, you must create a project in which to store the file. | |
| </dd> | |
| <dt><b>Open File</b></dt> | |
| <dd>Enables you to open a file for editing - including files that do not reside in the Workspace. | |
| </dd> | |
| <dt><b>Close</b> (Ctrl+W)</dt> | |
| <dd>Closes the active editor. | |
| You are prompted to save changes before the file closes. | |
| </dd> | |
| <dt><b>Close All</b> (Shift+Ctrl+W)</dt> | |
| <dd>Closes all open editors. | |
| You are prompted to save changes before the files close. | |
| </dd> | |
| <dt><img src="../images/save_edit.png" alt="Save edit image"> <b>Save</b> (Ctrl+S)</dt> | |
| <dd>Saves the contents of the active editor. | |
| </dd> | |
| <dt><img src="../images/saveas_edit.png" alt="Save as image"> <b>Save As</b></dt> | |
| <dd>Enables you to save the contents of the | |
| active editor under another file name or location. | |
| </dd> | |
| <dt><img src="../images/saveall_edit.png" alt="Save all image"> <b>Save All</b> (Shift+Ctrl+S)</dt> | |
| <dd>Saves the contents of all open editors. | |
| </dd> | |
| <dt><b>Revert</b></dt> | |
| <dd>Replaces the contents of the active editor with the previously saved contents. | |
| </dd> | |
| <dt><b>Move</b></dt> | |
| <dd>Enables you to move the currently selected resources to a different project | |
| or to create a Java package with those resources. | |
| </dd> | |
| <dt><b>Rename</b> (F2)</dt> | |
| <dd>Enables you to change the name of the currently selected resource. | |
| </dd> | |
| <dt><b>Refresh</b> (F5)</dt> | |
| <dd>Refreshes the resource with the contents in the file system. | |
| </dd> | |
| <dt><b>Convert Line Delimiters To</b></dt> | |
| <dd>Alters the line delimiters for the selected files. | |
| Changes are immediate and persist until you change the delimiter | |
| again - you do not need to save the file. | |
| </dd> | |
| <dt><img src="../images/print_edit.png" alt="Print editor image"> <b>Print</b> (Ctrl+P)</dt> | |
| <dd>Prints the contents of the active editor. | |
| </dd> | |
| <dt><b>Switch Workspace</b></dt> | |
| <dd>Opens the <b>Workspace Launcher</b>, from which you can | |
| switch to a different workspace. This restarts the Workbench. | |
| </dd> | |
| <dt><img src="../images/import_wiz.png" alt="Import wizard image"> <b>Import</b></dt> | |
| <dd>Launches the <b>Import</b> wizard, which enables you to add resources to the Workbench. | |
| </dd> | |
| <dt><img src="../images/export_wiz.png" alt="Export wizard image"> <b>Export</b></dt> | |
| <dd>Launches the <b>Export</b> wizard, which enables you to export resources from the Workbench. | |
| </dd> | |
| <dt><b>Properties</b> (Alt+Enter)</dt> | |
| <dd>Opens the <b>Properties</b> dialog for the currently selected resource. | |
| You can learn: | |
| <ul> | |
| <li>The path to the resource in your file system</li> | |
| <li>The date of the last modification</li> | |
| <li>Whether a file is writable or executable, and what its encoding is</li> | |
| <li>Whether a project's resources inherit their encoding and line delimiters | |
| or whether they are set to a particular value.</li> | |
| </ul> | |
| </dd> | |
| <dt><b>Recent file list</b></dt> | |
| <dd>Contains a list of the most recently accessed files in the Workbench. | |
| You can open any of these files from the <b>File</b> menu by simply clicking the file name. | |
| You can control the number of files in this list from the | |
| <a href="ref-12.htm">Editors preference page</a>. | |
| </dd> | |
| <dt><b>Exit</b></dt> | |
| <dd>Closes and exits the Workbench. | |
| </dd> | |
| </dl> | |
| </BODY> | |
| </HTML> |