Java Editor
The JDT defines an editor providing specific support for editing Java code. By default, this editor is activated by either:
-
selecting Open With > Java Editor from a selection's context menu in the Navigator or Package view,
-
double-clicking a JAVA file in the Navigator or Package view,
-
single-clicking a currently-open JAVA file in the Navigator or Package view. This method is available only when the
Link Navigator Selection to Active Editor
option is turned on (Window > Preferences > Workbench), or
-
selecting
Open
from the context menu of either a type or a method in the Hierarchy view.
The Java editor is closely related with the Java-specific Outline view showing the structure of the content of the Java file in terms of Java language constructs.