}
//Wrap a Constraint Value Editor with an icon to remove the type
private Widget wrap( Widget w ) {
HorizontalPanel wrapper = new HorizontalPanel();
Image clear = GuidedRuleEditorImages508.INSTANCE.DeleteItemSmall();
clear.setAltText( Constants.INSTANCE.RemoveActionValueDefinition() );
clear.setTitle( Constants.INSTANCE.RemoveActionValueDefinition() );
clear.addClickHandler( new ClickHandler() {
public void onClick( ClickEvent event ) {
//Reset Constraint's value and value type
if ( Window.confirm( Constants.INSTANCE.RemoveActionValueDefinitionQuestion() ) ) {
value.setNature( FieldNatureType.TYPE_UNDEFINED );