Bug 10654 Allow all jars in a folder to be added to build path
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
}
	
	
	private class LibrariesAdapter implements IDialogFieldListener, IListAdapter {
		
		
		public void customButtonPressed(DialogField field, int index) {
			libaryPageCustomButtonPressed(field, index);
		}
		
		public void selectionChanged(DialogField field) {
			libaryPageSelectionChanged(field);
		}
			
		
	
		public void dialogFieldChanged(DialogField field) {
			libaryPageDialogFieldChanged(field);
		}
	}
	
	private void libaryPageCustomButtonPressed(DialogField field, int index) {
		CPListElement[] libentries= null;
		switch (index) {
		case 0: 
			libentries= createNewClassContainer();
			break;
		case 1: 
			libentries= chooseClassContainers();
			break;