Bug 187255 WSDL should not provide Eclipse-BuddyPolicy: registered
I do not see any use of this, and can not imagine how, even in theory, it would be needed. So, suggest we remove it to avoid confusion.
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet004DataBindingContextErrorLabel.java
dbc.bindValue(SWTObservables.observeText(text, SWT.Modify),
						value, new UpdateValueStrategy().setAfterConvertValidator(new FiveValidator()), null);
				
				dbc.bindValue(SWTObservables.observeText(errorLabel),
						new AggregateValidationStatus(dbc.getBindings(),
								AggregateValidationStatus.MAX_SEVERITY), null, null);
				shell.pack();
				shell.open();
				while (!shell.isDisposed()) {
					if (!display.readAndDispatch())
						display.sleep();
				}
			}
		});
		display.dispose();
	}
	/**
	 * Validator that returns validation errors for any value other than 5.
	 * 
	 * @since 3.2
	 */
	private static class FiveValidator implements IValidator {
		public IStatus validate(Object value) {
			return ("5".equals(value)) ? Status.OK_STATUS : ValidationStatus
					.error("the value was '" + value + "', not '5'");
		}
	}
}