mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Renamed 'SourceLocationFactory' to 'SourceLookupFactory'.
This commit is contained in:
parent
10c705c445
commit
330c815c5f
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-10-27 Mikhail Khodjaiants
|
||||||
|
Renamed 'SourceLocationFactory' to 'SourceLookupFactory'.
|
||||||
|
* AddDirectorySourceLocationBlock.java
|
||||||
|
* AddProjectSourceLocationBlock.java
|
||||||
|
|
||||||
2003-10-23 Mikhail Khodjaiants
|
2003-10-23 Mikhail Khodjaiants
|
||||||
Added a preference page for the source lookup.
|
Added a preference page for the source lookup.
|
||||||
It includes two new preferences: 'Source Locations' and 'Search For Duplicate Source Files'.
|
It includes two new preferences: 'Source Locations' and 'Search For Duplicate Source Files'.
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
package org.eclipse.cdt.debug.internal.ui.wizards;
|
package org.eclipse.cdt.debug.internal.ui.wizards;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.sourcelookup.IDirectorySourceLocation;
|
import org.eclipse.cdt.debug.core.sourcelookup.IDirectorySourceLocation;
|
||||||
import org.eclipse.cdt.debug.core.sourcelookup.SourceLocationFactory;
|
import org.eclipse.cdt.debug.core.sourcelookup.SourceLookupFactory;
|
||||||
import org.eclipse.cdt.debug.internal.ui.PixelConverter;
|
import org.eclipse.cdt.debug.internal.ui.PixelConverter;
|
||||||
import org.eclipse.cdt.debug.internal.ui.SWTUtil;
|
import org.eclipse.cdt.debug.internal.ui.SWTUtil;
|
||||||
import org.eclipse.core.runtime.IPath;
|
import org.eclipse.core.runtime.IPath;
|
||||||
|
@ -194,7 +194,7 @@ public class AddDirectorySourceLocationBlock
|
||||||
if ( isLocationPathValid() )
|
if ( isLocationPathValid() )
|
||||||
{
|
{
|
||||||
Path association = ( isAssociationPathValid() ) ? new Path( getAssociationPath() ) : null;
|
Path association = ( isAssociationPathValid() ) ? new Path( getAssociationPath() ) : null;
|
||||||
return SourceLocationFactory.createDirectorySourceLocation( new Path( getLocationPath() ), association, searchSubfolders() );
|
return SourceLookupFactory.createDirectorySourceLocation( new Path( getLocationPath() ), association, searchSubfolders() );
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
package org.eclipse.cdt.debug.internal.ui.wizards;
|
package org.eclipse.cdt.debug.internal.ui.wizards;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.sourcelookup.IProjectSourceLocation;
|
import org.eclipse.cdt.debug.core.sourcelookup.IProjectSourceLocation;
|
||||||
import org.eclipse.cdt.debug.core.sourcelookup.SourceLocationFactory;
|
import org.eclipse.cdt.debug.core.sourcelookup.SourceLookupFactory;
|
||||||
import org.eclipse.core.resources.IProject;
|
import org.eclipse.core.resources.IProject;
|
||||||
import org.eclipse.jface.resource.JFaceResources;
|
import org.eclipse.jface.resource.JFaceResources;
|
||||||
import org.eclipse.jface.viewers.IDoubleClickListener;
|
import org.eclipse.jface.viewers.IDoubleClickListener;
|
||||||
|
@ -92,7 +92,7 @@ public class AddProjectSourceLocationBlock
|
||||||
{
|
{
|
||||||
if ( !((IStructuredSelection)fViewer.getSelection()).isEmpty() )
|
if ( !((IStructuredSelection)fViewer.getSelection()).isEmpty() )
|
||||||
{
|
{
|
||||||
return SourceLocationFactory.createProjectSourceLocation( (IProject)((IStructuredSelection)fViewer.getSelection()).getFirstElement(), false );
|
return SourceLookupFactory.createProjectSourceLocation( (IProject)((IStructuredSelection)fViewer.getSelection()).getFirstElement(), false );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue