mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
'performApply' of 'SourceLookupBlock' should check if the project in configuration is the same as project saved in the block.
Changed the message displayed when the source file is not found.
This commit is contained in:
parent
1a4a0704fc
commit
565184adfa
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
|||
2003-12-05 Mikhail Khodjaiants
|
||||
'performApply' of 'SourceLookupBlock' should check if the project in configuration is the same as
|
||||
project saved in the block.
|
||||
* SourceLookupBlock.java
|
||||
|
||||
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
|
||||
|
|
|
@ -287,7 +287,7 @@ public class CDebugEditor extends CEditor
|
|||
{
|
||||
FileNotFoundElement element = (FileNotFoundElement)input.getAdapter( FileNotFoundElement.class );
|
||||
if ( element != null )
|
||||
fInputLabel.setText( MessageFormat.format( "The debugger can not find the file ''{0}''.", new String[] { element.getFullPath().toOSString() } ) );
|
||||
fInputLabel.setText( MessageFormat.format( "Can not find the file ''{0}'' in the specified source locations.", new String[] { element.getFullPath().toOSString() } ) );
|
||||
}
|
||||
|
||||
protected ScrolledComposite getScrolledComposite()
|
||||
|
|
|
@ -251,7 +251,7 @@ public class SourceLookupBlock implements Observer
|
|||
if ( locator instanceof IAdaptable )
|
||||
{
|
||||
ICSourceLocator clocator = (ICSourceLocator)((IAdaptable)locator).getAdapter( ICSourceLocator.class );
|
||||
if ( clocator != null )
|
||||
if ( clocator != null && getProject() != null && getProject().equals( getProjectFromLaunchConfiguration( configuration ) ) )
|
||||
{
|
||||
clocator.setSourceLocations( getSourceLocations() );
|
||||
clocator.setSearchForDuplicateFiles( searchForDuplicateFiles() );
|
||||
|
|
Loading…
Add table
Reference in a new issue