final Command refresh ) {
Button freezeConditions = new Button( Constants.INSTANCE.Conditions() );
freezeConditions.addClickHandler( new ClickHandler() {
public void onClick( ClickEvent event ) {
model.addMetadata( new RuleMetadata( RuleAttributeWidget.LOCK_LHS,
"true" ) );
refresh.execute();
hide();
}
} );
Button freezeActions = new Button( Constants.INSTANCE.Actions() );
freezeActions.addClickHandler( new ClickHandler() {
public void onClick( ClickEvent event ) {
model.addMetadata( new RuleMetadata( RuleAttributeWidget.LOCK_RHS,
"true" ) );
refresh.execute();
hide();
}
} );