You can open a file in the Source Editor by doing any of the following:
For a Java form (indicated by a node),
the Open command opens the Design view for the form. If you want to view the
form's source, click the Source button in the editor toolbar. Alternatively,
you can open a form's source directly by right-clicking the form's node and
choosing Edit.
For various deployment descriptor types, you can switch to the text editor by clicking the XML button in the editor toolbar.