1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

2003-11-17 Mikhail Khodjaiants

src/org/eclipse/cdt/launch/ui/CSourceLookupTab.java: 
	"Search for duplicate source files" option support.
This commit is contained in:
David Inglis 2003-10-17 19:28:55 +00:00
parent d253f76e29
commit 1883bd1101
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2003-11-17 Mikhail Khodjaiants
src/org/eclipse/cdt/launch/ui/CSourceLookupTab.java:
"Search for duplicate source files" option support.
2003-10-07 Mikhail Khodjaiants
src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java:
use 'MultiStatus' instead of 'Status' in the 'abort' method.

View file

@ -109,6 +109,7 @@ public class CSourceLookupTab extends CLaunchConfigurationTab
if ( !project.equals( fBlock.getProject() ) )
fBlock.initialize( clocator );
clocator.setSourceLocations( fBlock.getSourceLocations() );
clocator.setSearchForDuplicateFiles( fBlock.searchForDuplicateFiles() );
}
configuration.setAttribute( ILaunchConfiguration.ATTR_SOURCE_LOCATOR_MEMENTO, locator.getMemento() );
}
@ -129,8 +130,9 @@ public class CSourceLookupTab extends CLaunchConfigurationTab
/* (non-Javadoc)
* @see org.eclipse.debug.ui.ILaunchConfigurationTab#getImage()
*/
public Image getImage() {
return LaunchImages.get(LaunchImages.IMG_VIEW_SOURCE_TAB);
public Image getImage()
{
return LaunchImages.get( LaunchImages.IMG_VIEW_SOURCE_TAB );
}
private IProject getProject( ILaunchConfiguration configuration )