// If there is a bound Facts or Fields that are of the same type as the current variable type, then show a button
List<String> bindings = getApplicableBindings();
if ( bindings.size() > 0 ) {
Button variable = new Button( GuidedRuleEditorResources.CONSTANTS.BoundVariable() );
form.addAttribute( GuidedRuleEditorResources.CONSTANTS.BoundVariable() + ":",
variable );
variable.addClickHandler( new ClickHandler() {
public void onClick( ClickEvent event ) {
value.setNature( FieldNatureType.TYPE_VARIABLE );