Source File Nodes in the Explorer
All Java source files that were not created using the IDE's form templates
are represented as source file nodes(
)
in the Explorer. Each source file node expands to reveal subnodes for each of
its classes (
) and interfaces
(
).
You can right-click any source file node to access a contextual menu containing
the following commands:
- Open. Displays the file in the Source Editor.
- Customize Bean. Creates a serialized instance of the class.
- Cut, Copy, and Paste. Provide several Paste options for moving files
between packages. You can choose to paste a copy of the file, a link to the
file, a serialized instance of the file, or the default instance of the file.
If the file is a template, you can also choose to paste a new instance of
the file. If you paste a copy of a source file into a different package, the
class declaration is adjusted accordingly.
- Add. Lets you add a new class or interface to your file.
- Tools. Contains commands for carrying out various actions on your
code, such as synchronizing changes, generating Javadoc documents, and managing
import statements.
- Save as Template. Saves the file as a template. You can then use
the New From Template wizard to create new instances of the class.
- Properties. Displays a property sheet with basic information about
the file.
Badges
The IDE affixes badge icons to Explorer icons to indicate a particular state
of the object. The following table lists the badge icons used by the IDE.
Icon |
Description |
 |
The file needs to be compiled. It has not been compiled or the source
has changed since the last compilation. |
 |
The file is a runnable object. |
 |
The file cannot be parsed. The file might contain an unrecoverable syntactic
error or there might have been a problem reading the file. |
Legal Notices