use of org.eclipse.core.databinding.Binding in project portfolio by buchen.
the class SecurityTaxonomyPage method recreateTaxonomyPicker.
private void recreateTaxonomyPicker(final Composite taxonomyPicker) {
// invalid bindings and error messages
for (ValidationStatusProvider validator : validators) {
if (validator instanceof Binding)
bindings.getBindingContext().removeBinding((Binding) validator);
else
bindings.getBindingContext().removeValidationStatusProvider(validator);
}
validators.clear();
Composite parent = taxonomyPicker.getParent();
taxonomyPicker.dispose();
createTaxonomyPicker(parent);
parent.layout();
}
Aggregations