See Also
Using Class Outline, you can quickly delete a definition from your .java file.
To delete a definition
Note If you use the Text editor to delete a definition, the associated item in Class Outline is automatically removed.