Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 10388

Summary: Should show message when class file has no source
Product: [Eclipse Project] JDT Reporter: Darin Wright <darin.eclipse>
Component: UIAssignee: Claude Knaus <Claude_Knaus>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Darin Wright CLA 2002-02-27 10:13:05 EST
When a class file is opened in an editor, which has no source, a message should 
be displayed in the editor rather than leaving it blank. For example "No source 
available." or "Source not available.".
Comment 1 Erich Gamma CLA 2002-03-04 18:56:53 EST
we can distinguish the "no source" from the "empty source" case. Here is the 
API spec for IJavaElement.getSource()

* @return the source code, or <code>null</code> if this element has no 
*   associated source code

Comment 2 Claude Knaus CLA 2002-05-08 11:26:50 EDT

*** This bug has been marked as a duplicate of 13581 ***