Bug 235195 [Wizards] [DataBinding] Non-error statuses not handled correctly by WizardPageSupport class
Build ID: I20080516-1333 Steps To Reproduce: 1. Setup a DataBindingContext inside a wizard page whose validation status consists of an INFO or WARNING. 2. Attach the DataBindingContext to a WizardPageSupport instance. 3. The wizard page will erroneously be set to be not complete.
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/wizard/WizardPageSupport.java
break;
			case IStatus.ERROR:
				type = IMessageProvider.ERROR;
				break;
			default:
				Assert.isTrue(false, "incomplete switch statement"); 
			}
			wizardPage.setErrorMessage(null);
			wizardPage.setMessage(currentStatus.getMessage(), type);
		} else {
			wizardPage.setPageComplete(true);
			wizardPage.setMessage(null);
			wizardPage.setErrorMessage(null);
		}
	}
	private boolean currentStatusHasException() {
		boolean hasException = false;
		if (currentStatus.getException() != null) {
			hasException = true;
		}
		if (currentStatus instanceof MultiStatus) {
			MultiStatus multiStatus = (MultiStatus) currentStatus;
			for (int i = 0; i < multiStatus.getChildren().length; i++) {
				IStatus status = multiStatus.getChildren()[i];
				if (status.getException() != null) {
					hasException = true;
					break;
				}
			}
		}