From a042dbd4dd1fc6536b80661e82d046d33351ee64 Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Thu, 4 Dec 2003 19:40:42 +0000 Subject: [PATCH] Changed the message displayed when the source file is not found. --- debug/org.eclipse.cdt.debug.ui/ChangeLog | 4 ++++ .../eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog b/debug/org.eclipse.cdt.debug.ui/ChangeLog index 1db0961bfca..ade723f386a 100644 --- a/debug/org.eclipse.cdt.debug.ui/ChangeLog +++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog @@ -1,3 +1,7 @@ +2003-12-04 Mikhail Khodjaiants + Changed the message displayed when the source file is not found. + * CDebugEditor.java + 2003-11-26 Mikhail Khodjaiants Fix for PR 47595: Referenced projects are not checked in the list of generic source locations. * SourceLookupBlock.java diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java index f5da1d06294..c56e2864388 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java @@ -291,9 +291,7 @@ public class CDebugEditor extends CEditor 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() } ); + message = MessageFormat.format( "Can not find the file ''{0}'' in the specified source locations.", new String[] { element.getFullPath().toOSString() } ); fInputLabel.setText( message ); } }