Object selectedObject = ((IStructuredSelection) selection).getFirstElement();
_fetchSpecification = (EOFetchSpecification) selectedObject;
if (_fetchSpecification != null) {
_bindingContext = new DataBindingContext();
_bindingContext.bindValue(SWTObservables.observeText(_nameText, SWT.Modify), BeansObservables.observeValue(_fetchSpecification, EOFetchSpecification.NAME), null, null);
Binding qualifierBinding = _bindingContext.bindValue(SWTObservables.observeText(_qualifierText, SWT.Modify), BeansObservables.observeValue(_fetchSpecification, EOFetchSpecification.QUALIFIER_STRING), null, null);
_bindingContext.bindValue(SWTObservables.observeText(_errorLabel), qualifierBinding.getValidationStatus(), null, null);
_entityTreeViewUpdater.setEntity(_fetchSpecification.getEntity());
}
}