blob: 123087ac0b13ae0c5399f7d209585be3fe7beb5f [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<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">
<meta name="GENERATOR" content="Mozilla/4.76 [en] (Windows NT 5.0; U) [Netscape]">
<title>
File actions
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
File actions
</h1>
<p>
File Menu Commands:
</p>
<table border="1" cellspacing="0" cellpadding="5">
<caption>
</caption>
<tbody>
<tr>
<th>
<p>
Name
</p>
</th>
<th>
<p>
Function
</p>
</th>
<td>
<strong>Keyboard Shortcut</strong>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" valign="top">
<p>
New
</p>
</td>
<td align="left" valign="top">
<p>
Create a Java element or a new resource. Configure which elements are shown in the submenu in Window &gt; Customize Perspective. In a Java perspective, by default
action for creating a <a href="ref-121.htm">project</a>, <a href="ref-125.htm">package</a>, <a href="ref-126.htm">class</a>, <a href="ref-126b.htm">enum</a>, <a href="ref-127.htm">interface</a> , <a href="ref-127b.htm">annotation</a> , <a href="ref-128.htm">source
folder</a>, <a href="ref-129.htm">scrapbook</a>, file and folder are available.
</p>
</td>
<td>
Ctrl + N
</td>
</tr>
<tr>
<td align="left" valign="top">
<p>
Close&nbsp;
</p>
</td>
<td align="left" valign="top">
<p>
Close the current editor. If the editor contains unsaved data, a save request dialog will be shown.
</p>
</td>
<td>
Ctrl + F4
</td>
</tr>
<tr>
<td align="left" valign="top">
<p>
Close All
</p>
</td>
<td align="left" valign="top">
<p>
Close all editors. If editors contains unsaved data, a save request dialog will be shown.
</p>
</td>
<td>
Ctrl + Shift + F4
</td>
</tr>
<tr>
<td align="left" valign="top">
<p>
Save
</p>
</td>
<td align="left" valign="top">
<p>
Save the content of the current editor. Disabled if the editor does not contain unsaved changes.
</p>
</td>
<td>
Ctrl + S
</td>
</tr>
<tr>
<td align="left" valign="top">
<p>
Save As
</p>
</td>
<td align="left" valign="top">
<p>
Save the content of the current editor under a new name.
</p>
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Save All
</td>
<td>
Save the content of all editors with unsaved changes. Disabled if no editor contains unsaved changes.
</td>
<td>
Ctrl + Shift + S
</td>
</tr>
<tr align="left" valign="top">
<td>
Revert
</td>
<td>
Revert the content of the current editor back to the content of the saved file. Disabled if the editor does not contain unsaved changes.
</td>
<td>&nbsp;
</td>
</tr>
<tr align="left" valign="top">
<td>
Move
</td>
<td>
Move a resource. Disabled on Java Elements. To move Java elements use Refactor &gt; Move (with updating all references to the file) or <a href=
"ref-menu-edit.htm">Edit</a> &gt; Cut / Paste (no updating of references).
</td>
<td>&nbsp;
</td>
</tr>
<tr align="left" valign="top">
<td>
Rename
</td>
<td>
Renames a resource. Disabled on Java Elements. To rename Java elements use Refactor &gt; Rename (with updating all references to the file).
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Refresh
</td>
<td>
Refreshes the content of the selected element with the local file system.When launched from no specific selection, this command refreshes all projects.
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Print
</td>
<td>
Prints the content of the current editor. Enabled when an editor has the focus.
</td>
<td>
Ctrl + P
</td>
</tr>
<tr>
<td>
Import
</td>
<td>
Opens the import wizard dialog. JDT does not contribute any import wizards.
</td>
<td>&nbsp;
</td>
</tr>
<tr align="left" valign="top">
<td>
Export
</td>
<td>
Opens the export wizard dialog. JDT contributes the <a href="ref-export-jar.htm">JAR file export wizard</a> and the <a href=
"ref-export-javadoc.htm">Javadoc generation wizard</a>.
</td>
<td>&nbsp;
</td>
</tr>
<tr align="left" valign="top">
<td>
Properties
</td>
<td>
Opens the property pages of the select elements. Opened on Java projects the <a href="ref-123.htm">Java Build Path</a> page and the <a href=
"ref-dialog-javadoc-location.htm">Javadoc Location page</a> are available. For JAR archives, configure the JAR's <a href="ref-124.htm">Source Attachment</a> and <a
href="ref-dialog-javadoc-location.htm">Javadoc Location</a> here.
</td>
<td>
Alt + Enter
</td>
</tr>
<tr align="left" valign="top">
<td>
Exit
</td>
<td>
Exit Eclipse
</td>
<td>&nbsp;
</td>
</tr>
</tbody>
</table>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0">
</p>
<p>
<a href="../concepts/concepts-1.htm">Java development tools (JDT)</a>
</p>
<p>
<img border="0" src="../images/ngrelt.png" alt="Related tasks">
</p>
<p>
<a href="../tasks/tasks-11.htm">Creating Java elements</a><br>
<a href="../tasks/tasks-32.htm">Creating JAR Files</a>
</p>
<p>
<img border="0" src="../images/ngrelr.png" alt="Related reference">
</p>
<p>
<a href="ref-121.htm">New Java Project wizard</a><br>
<a href="ref-125.htm">New Java Package wizard</a><br>
<a href="ref-126.htm">New Java Class wizard</a><br>
<a href="ref-126b.htm">New Java Enum wizard</a><br>
<a href="ref-127.htm">New Java Interface wizard</a><br>
<a href="ref-127b.htm">New Java Annotation wizard</a><br>
<a href="ref-129.htm">New Java Scrapbook Page wizard</a><br>
<a href="ref-export-jar.htm">JAR file exporter</a><br>
<a href="ref-export-javadoc.htm">Javadoc generation</a><br>
<a href="ref-dialog-javadoc-location.htm">Javadoc Location properties</a><br>
<a href="ref-123.htm">Java Build Path properties</a><br>
<a href="ref-124.htm">Source Attachment properties</a>
</p>
</body>
</html>