1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +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 2003-10-07 Mikhail Khodjaiants
src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java: src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java:
use 'MultiStatus' instead of 'Status' in the 'abort' method. 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() ) ) if ( !project.equals( fBlock.getProject() ) )
fBlock.initialize( clocator ); fBlock.initialize( clocator );
clocator.setSourceLocations( fBlock.getSourceLocations() ); clocator.setSourceLocations( fBlock.getSourceLocations() );
clocator.setSearchForDuplicateFiles( fBlock.searchForDuplicateFiles() );
} }
configuration.setAttribute( ILaunchConfiguration.ATTR_SOURCE_LOCATOR_MEMENTO, locator.getMemento() ); configuration.setAttribute( ILaunchConfiguration.ATTR_SOURCE_LOCATOR_MEMENTO, locator.getMemento() );
} }
@ -129,8 +130,9 @@ public class CSourceLookupTab extends CLaunchConfigurationTab
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.debug.ui.ILaunchConfigurationTab#getImage() * @see org.eclipse.debug.ui.ILaunchConfigurationTab#getImage()
*/ */
public Image getImage() { public Image getImage()
return LaunchImages.get(LaunchImages.IMG_VIEW_SOURCE_TAB); {
return LaunchImages.get( LaunchImages.IMG_VIEW_SOURCE_TAB );
} }
private IProject getProject( ILaunchConfiguration configuration ) private IProject getProject( ILaunchConfiguration configuration )