//Wrap a Constraint Value Editor with an icon to remove the type
private Widget wrap(Widget w) {
HorizontalPanel wrapper = new HorizontalPanel();
Image clear = new ImageButton( DroolsGuvnorImages.INSTANCE.deleteItemSmall() );
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( FieldNature.TYPE_UNDEFINED );