Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2003-12-04 19:40:42 +0000
committerMikhail Khodjaiants2003-12-04 19:40:42 +0000
commita042dbd4dd1fc6536b80661e82d046d33351ee64 (patch)
treed9866db8a0fe7507fe8a79b0bbaf73508ccb89e1
parent8e30551fb7433c44c6a2bfc090b68ed5442ea0c2 (diff)
downloadorg.eclipse.cdt-a042dbd4dd1fc6536b80661e82d046d33351ee64.tar.gz
org.eclipse.cdt-a042dbd4dd1fc6536b80661e82d046d33351ee64.tar.xz
org.eclipse.cdt-a042dbd4dd1fc6536b80661e82d046d33351ee64.zip
Changed the message displayed when the source file is not found.
-rw-r--r--debug/org.eclipse.cdt.debug.ui/ChangeLog4
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java4
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 );
}
}

Back to the top