final Command refresh ) {
Button freezeConditions = new Button( GuidedRuleEditorResources.CONSTANTS.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( GuidedRuleEditorResources.CONSTANTS.Actions() );
freezeActions.addClickHandler( new ClickHandler() {
public void onClick( ClickEvent event ) {
model.addMetadata( new RuleMetadata( RuleAttributeWidget.LOCK_RHS,
"true" ) );
refresh.execute();
hide();
}
} );