mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
changed the message displayed when the source file not found.
This commit is contained in:
parent
51946e40ab
commit
3a43da5b4b
2 changed files with 4 additions and 9 deletions
|
@ -1,3 +1,6 @@
|
|||
2003-10-17 Mikhail Khodjaiants
|
||||
* CDebugEditor.java: changed the message displayed when the source file not found.
|
||||
|
||||
2003-10-14 Mikhail Khodjaiants
|
||||
* DebugTextHover.java: check if the result of 'evaluateExpression' is not null before trim it.
|
||||
|
||||
|
|
|
@ -287,15 +287,7 @@ public class CDebugEditor extends CEditor
|
|||
{
|
||||
FileNotFoundElement element = (FileNotFoundElement)input.getAdapter( FileNotFoundElement.class );
|
||||
if ( element != null )
|
||||
{
|
||||
IPath path = element.getFullPath();
|
||||
String message = "";
|
||||
if ( path.isAbsolute() )
|
||||
message = MessageFormat.format( "The file ''{0}'' does not exist.", new String[] { element.getFullPath().toOSString() } );
|
||||
else
|
||||
message = MessageFormat.format( "The file ''{0}'' not found.", new String[] { element.getFullPath().toOSString() } );
|
||||
fInputLabel.setText( message );
|
||||
}
|
||||
fInputLabel.setText( MessageFormat.format( "The debugger can not find the file ''{0}''.", new String[] { element.getFullPath().toOSString() } ) );
|
||||
}
|
||||
|
||||
protected ScrolledComposite getScrolledComposite()
|
||||
|
|
Loading…
Add table
Reference in a new issue