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/VariableSelectionBlock.java
private IStatus extensionUpdated() {
		StatusInfo status= new StatusInfo();
		String extension= fExtensionField.getText();
		if (extension.length() > 0 && !Path.ROOT.isValidPath(extension)) {
			status.setError(NewWizardMessages.getString("VariableSelectionBlock.error.invalidextension")); 
		}
		return status;
	}
		
	private IStatus getExistsStatus() {
		StatusInfo status= new StatusInfo();
		IPath path= getResolvedPath();
		if (path != null) {
			if (findPath(path)) {
				status.setError(NewWizardMessages.getString("VariableSelectionBlock.error.pathexists")); 
			} else if (!path.toFile().isFile()) {
				status.setWarning(NewWizardMessages.getString("VariableSelectionBlock.warning.pathnotexists")); 
			}
		} else {
			status.setWarning(NewWizardMessages.getString("VariableSelectionBlock.warning.pathnotexists")); 
		}
		return status;
	}
	
	private boolean findPath(IPath path) {
		for (int i= fExistingPaths.size() -1; i >=0; i--) {
			IPath curr= (IPath) fExistingPaths.get(i);
			if (curr.equals(path)) {
				return true;
			}