Bug 122505 [build path] Can't exclude folder if exclusion pattern disabled on project/workspace level
Version: 3.2.0 Build id: I20051220-0800 Create project with inclusion and exclusion patters disabled and no seperate src and output folder. On build path menu select 'New Source Folder' The wizard shows the error: Cannot nest 'P03/src' inside 'P03'. To enable the nesting exclude 'src/' from 'P03' But the check box is disabled (which is correct). The error should say something else.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java
import org.eclipse.jdt.internal.ui.wizards.TypedViewerFilter;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IDialogFieldListener;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.IStringButtonAdapter;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.LayoutUtil;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.SelectionButtonDialogField;
import org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField;
public class AddSourceFolderWizardPage extends NewElementWizardPage {
		
	private static final String PAGE_NAME= "NewSourceFolderWizardPage"; 
	private final StringButtonDialogField fRootDialogField;
	private final SelectionButtonDialogField fExcludeInOthersFields;
	private final SelectionButtonDialogField fReplaceExistingField;
	
	private final CPListElement fNewElement;
	private final List fExistingEntries;
	private final Hashtable fOrginalExlusionFilters, fOrginalInclusionFilters;
	private final IPath fOrginalPath;
	
	private IPath fOutputLocation;
	private IPath fNewOutputLocation;
	private CPListElement fOldProjectSourceFolder;
	private List fModifiedElements;
	private List fRemovedElements;
	
	public AddSourceFolderWizardPage(CPListElement newElement, List existingEntries, IPath outputLocation) {
		super(PAGE_NAME);
		
		fOrginalExlusionFilters= new Hashtable();
		fOrginalInclusionFilters= new Hashtable();