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:
parent
0cc062f8ab
commit
ed29a14df2
1 changed files with 1 additions and 7 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue