public NewSourceFolderDialog(Shell parent, String title, IProject project, IContainer[] existingFolders, CPListElement entryToEdit) {
public NewSourceFolderDialog(Shell parent, String title, IProject project, List existingFolders, CPListElement entryToEdit) {
	public NewSourceFolderDialog(Shell parent, String title, IProject project, IContainer[] existingFolders, CPListElement entryToEdit) {		super(parent);		setTitle(title);				fContainerFieldStatus= new StatusInfo();			SourceContainerAdapter adapter= new SourceContainerAdapter();				fUseProjectButton= new SelectionButtonDialogField(SWT.RADIO);		fUseProjectButton.setLabelText("Project as source folder");		fUseProjectButton.setDialogFieldListener(adapter);		fUseFolderButton= new SelectionButtonDialogField(SWT.RADIO);		fUseFolderButton.setLabelText("Folder as source folder");		fUseFolderButton.setDialogFieldListener(adapter);						fContainerDialogField= new StringDialogField();		fContainerDialogField.setDialogFieldListener(adapter);				fUseFolderButton.attachDialogField(fContainerDialogField);				fFolder= null;		fExistingFolders= existingFolders;		fCurrProject= project;				boolean useFolders= true;		if (entryToEdit == null) {			fContainerDialogField.setText(""); //$NON-NLS-1$		} else {			IPath editPath= entryToEdit.getPath().removeFirstSegments(1);			fContainerDialogField.setText(editPath.toString());			useFolders= !editPath.isEmpty();		}		fUseFolderButton.setSelection(useFolders);		fUseProjectButton.setSelection(!useFolders);	}