1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-22 15:53:58 +02:00

Changed the message displayed when the source file is not found.

This commit is contained in:
Mikhail Khodjaiants 2003-12-05 20:33:34 +00:00
parent 0cc062f8ab
commit ed29a14df2

View file

@ -287,13 +287,7 @@ public class CDebugEditor extends CEditor
{ {
FileNotFoundElement element = (FileNotFoundElement)input.getAdapter( FileNotFoundElement.class ); FileNotFoundElement element = (FileNotFoundElement)input.getAdapter( FileNotFoundElement.class );
if ( element != null ) if ( element != null )
{ fInputLabel.setText( MessageFormat.format( "Can not find the file ''{0}'' in the specified source locations.", new String[] { element.getFullPath().toOSString() } ) );
IPath path = element.getFullPath();
String message = "";
if ( path.isAbsolute() )
message = MessageFormat.format( "Can not find the file ''{0}'' in the specified source locations.", new String[] { element.getFullPath().toOSString() } );
fInputLabel.setText( message );
}
} }
protected ScrolledComposite getScrolledComposite() protected ScrolledComposite getScrolledComposite()