void (final RadComponent component, final String text) { if (!component.isDefaultBinding()) { return; } RadRootContainer root = (RadRootContainer)FormEditingUtil.getRoot(component); PsiField boundField = findBoundField(root, component.getBinding()); if (boundField == null || !isFieldUnreferenced(boundField)) { return; } String binding = suggestBindingFromText(component, text); if (binding != null) { new BindingProperty(component.getProject()).setValueEx(component, binding); // keep the binding marked as default component.setDefaultBinding(true); } }