Bug 315281 update copyrights for 3.6
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/dialog/ValidationMessageProvider.java
* Returns the message type defined in {@link IMessageProvider} which
	 * naturally maps to the {@link IStatus#getSeverity()} of the
	 * <code>IStatus</code> contained in the provided
	 * <code>validationStatusProvider</code>.
	 */
	public int getMessageType(ValidationStatusProvider statusProvider) {
		if (statusProvider == null) {
			return IMessageProvider.NONE;
		}
		IStatus status = (IStatus) statusProvider.getValidationStatus()
				.getValue();
		int severity = status.getSeverity();
		switch (severity) {
		case IStatus.OK:
			return IMessageProvider.NONE;
		case IStatus.CANCEL:
			return IMessageProvider.NONE;
		case IStatus.INFO:
			return IMessageProvider.INFORMATION;
		case IStatus.WARNING:
			return IMessageProvider.WARNING;
		case IStatus.ERROR:
			return IMessageProvider.ERROR;
		default:
			Assert.isTrue(false, "incomplete switch statement"); 
			return -1; 
		}
	}
}