Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Fix for PR 35960: "Search for duplicate source files" option added

This is only the launcher protion of this fix.
 
Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.launch/ChangeLog,v
retrieving revision 1.41
diff -u -r1.41 ChangeLog
--- ChangeLog	9 Oct 2003 13:08:36 -0000	1.41
+++ ChangeLog	17 Oct 2003 17:32:58 -0000
@@ -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.
Index: src/org/eclipse/cdt/launch/ui/CSourceLookupTab.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CSourceLookupTab.java,v
retrieving revision 1.5
diff -u -r1.5 CSourceLookupTab.java
--- src/org/eclipse/cdt/launch/ui/CSourceLookupTab.java	25 Sep 2003 13:34:31 -0000	1.5
+++ src/org/eclipse/cdt/launch/ui/CSourceLookupTab.java	17 Oct 2003 17:32:58 -0000
@@ -109,6 +109,7 @@
 					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 @@
 	/* (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 )

Back to the top