Bug 30727 exclusion filters: cannot remove [build path]
20030129 create a jproject and a src folder in it add 2 packages to it a.b and c.d exclude c/d/ from the classpath open the java build path dialog, select the source folders expand the tree node select 'Exclusion filter: /c/d/' press 'Remove' seems to be removed, right? wrong. open the dialog again - the filter for /c/d is still there
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
}
		
		if (res != null) {
			fFoldersList.replaceElement(elem, res);
		}
	}
	private void editAttributeEntry(CPListElementAttribute elem) {
		String key= elem.getKey();
		if (key.equals(CPListElement.OUTPUT)) {
			CPListElement selElement= (CPListElement) elem.getParent();
			OutputLocationDialog dialog= new OutputLocationDialog(getShell(), selElement);
			if (dialog.open() == OutputLocationDialog.OK) {
				selElement.setAttribute(CPListElement.OUTPUT, dialog.getOutputLocation());
				fFoldersList.refresh();
				fClassPathList.dialogFieldChanged(); 
			}
		} else if (key.equals(CPListElement.EXCLUSION)) {
			CPListElement selElement= (CPListElement) elem.getParent();
			ExclusionPatternDialog dialog= new ExclusionPatternDialog(getShell(), selElement);
			if (dialog.open() == OutputLocationDialog.OK) {
				selElement.setAttribute(CPListElement.EXCLUSION, dialog.getExclusionPattern());
				fFoldersList.refresh();
				fClassPathList.dialogFieldChanged(); 
			}		
		}
	}
	
	protected void sourcePageSelectionChanged(DialogField field) {
		List selected= fFoldersList.getSelectedElements();
		fFoldersList.enableButton(IDX_EDIT, canEdit(selected));