Bug 120544 [build path] Editing external source folder does not persist
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
CPListElement element= (CPListElement)iter.next();
				fFoldersList.expandElement(element, 3);
			}
			
			List removedElements= fWizard.getRemovedElements();
			fFoldersList.removeElements(removedElements);
			
			List modifiedElements= fWizard.getModifiedElements();
			for (Iterator iter= modifiedElements.iterator(); iter.hasNext();) {
				CPListElement element= (CPListElement)iter.next();
				fFoldersList.refresh(element);
				fFoldersList.expandElement(element, 3);
			}
			fFoldersList.refresh(); 
			if (insertedElements.isEmpty()) {
				fFoldersList.postSetSelection(new StructuredSelection(fSelectedElements));
			} else {
				fFoldersList.postSetSelection(new StructuredSelection(insertedElements));
			}
			fOutputLocationField.setText(fWizard.getOutputLocation().makeRelative().toOSString());
		}
	}
	
	private static AddSourceFolderWizard newSourceFolderWizard(CPListElement element, List existingElements, String outputLocation) {
		CPListElement[] existing= (CPListElement[])existingElements.toArray(new CPListElement[existingElements.size()]);
		AddSourceFolderWizard wizard= new AddSourceFolderWizard(existing, element, new Path(outputLocation).makeAbsolute());
		wizard.setDoFlushChange(false);
		return wizard;
	}