* {@link #MAX_SEVERITY}.
*/
public AggregateValidationStatus(final IObservableCollection bindings,
int strategy) {
if (strategy == MERGED) {
implementation = new ComputedValue(IStatus.class) {
protected Object calculate() {
return getStatusMerged(bindings);
}
};
} else {
implementation = new ComputedValue(IStatus.class) {
protected Object calculate() {
return getStatusMaxSeverity(bindings);
}
};
}