Interface Nodes in the Explorer

For each of your source files, the Explorer displays all interfaces and inner interfaces as interface nodes (). You can expand an interface node to view subnodes representing its members, such as methods, fields, and bean patterns.

You can add member elements to an interface by right-clicking its node and choosing from the Add submenu. A property editor opens in which you can specify basic information for the new member, such as modifiers, parameters, or initial values.

The interface node's contextual menu also contains commands for cutting, copying , and pasting the interface. If you paste the interface into a source file or form node, the interface is inserted at the end of the file. If you paste the interface into a class node, the interface is inserted as an inner interface. You can also paste the interface into a package as a new source file. If you paste an interface into a different package, the IDE adjusts the interface's package directive accordingly.

You can view an interface's property sheet by right-clicking its node and choosing Properties. You can edit an interface's properties in the property sheet itself, or by right-clicking the interface node and choosing Customize.

The node's contextual menu also contains a Tools submenu. You can use these commands to perform a variety of actions on the interface file, such as overriding inherited methods, synchronizing changes, and localizing your code.

See also
Synchronizing Source Code
Node Objects in the Explorer and Object Browser
Using Quick Browse for Java Elements
Filesystems and the Java Classpath

Specifying the Default Compiler
Specifying the Default Executor
Specifying the Default Debugger

Configuring the Compilers in the IDE
Configuring the Default Debugger
Configuring the Executors That Run Your Programs

Legal Notices