Bug 98472 New project wizard: second page remove from class path should ask for removal of folder when linked
RC1 - create a new project - switch to the second page - link in additional source observe: there is no way to unlink the addtional source We should offer to unlink the folder when the folder is removed from the build path again.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/BuildPathAction.java
}
	}
	public void update() {
		IStructuredSelection structSelection;
		ISelection selection= fSite.getSelectionProvider().getSelection();	
		if (selection instanceof IStructuredSelection) {
			structSelection= (IStructuredSelection) selection;
		} else {
			structSelection= StructuredSelection.EMPTY;
		}
		
		fCurrentSelection= structSelection;
		try {
			fContext.init(structSelection);
			
			fJavaProject= fContext.getJavaProject();
			setEnabled(fJavaProject != null && fOperation.isValid(fContext.getElements(), fContext.getTypes()));
		} catch (JavaModelException e) {
			JavaPlugin.log(e);
			setEnabled(false);
		}
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jdt.internal.corext.buildpath.IClasspathInformationProvider#getSelection()
	 */
	public IStructuredSelection getSelection() {
		return fCurrentSelection;
	}