From 330c815c5ff6d38122ce810a8d9ee293c7a313d8 Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Mon, 27 Oct 2003 20:08:53 +0000 Subject: [PATCH] Renamed 'SourceLocationFactory' to 'SourceLookupFactory'. --- debug/org.eclipse.cdt.debug.ui/ChangeLog | 5 +++++ .../internal/ui/wizards/AddDirectorySourceLocationBlock.java | 4 ++-- .../internal/ui/wizards/AddProjectSourceLocationBlock.java | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog b/debug/org.eclipse.cdt.debug.ui/ChangeLog index 8a507537fe8..6eae7247f4e 100644 --- a/debug/org.eclipse.cdt.debug.ui/ChangeLog +++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog @@ -1,3 +1,8 @@ +2003-10-27 Mikhail Khodjaiants + Renamed 'SourceLocationFactory' to 'SourceLookupFactory'. + * AddDirectorySourceLocationBlock.java + * AddProjectSourceLocationBlock.java + 2003-10-23 Mikhail Khodjaiants Added a preference page for the source lookup. It includes two new preferences: 'Source Locations' and 'Search For Duplicate Source Files'. diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddDirectorySourceLocationBlock.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddDirectorySourceLocationBlock.java index 36a3332e842..f3b57aa2ee2 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddDirectorySourceLocationBlock.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddDirectorySourceLocationBlock.java @@ -6,7 +6,7 @@ package org.eclipse.cdt.debug.internal.ui.wizards; 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.SWTUtil; import org.eclipse.core.runtime.IPath; @@ -194,7 +194,7 @@ public class AddDirectorySourceLocationBlock if ( isLocationPathValid() ) { 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; } diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddProjectSourceLocationBlock.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddProjectSourceLocationBlock.java index 12eac3c738f..1e7f0571536 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddProjectSourceLocationBlock.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddProjectSourceLocationBlock.java @@ -6,7 +6,7 @@ package org.eclipse.cdt.debug.internal.ui.wizards; 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.jface.resource.JFaceResources; import org.eclipse.jface.viewers.IDoubleClickListener; @@ -92,7 +92,7 @@ public class AddProjectSourceLocationBlock { 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;