if (launch.getSourceLocator() == null) {
ISourceLookupDirector sourceLocator = new JavaSourceLookupDirector();
ISourcePathComputer locator = getLaunchManager().getSourcePathComputer(SOURCE_LOCATOR);
if (locator != null) {
sourceLocator.setSourcePathComputer(locator); //$NON-NLS-1$
sourceLocator.initializeDefaults(configuration);
launch.setSourceLocator(sourceLocator);
}
}
}