* Builds all the condition widgets.
*/
private void renderLhs( final RuleModel model ) {
for ( int i = 0; i < model.lhs.length; i++ ) {
DirtyableVerticalPane vert = new DirtyableVerticalPane();
vert.setWidth( "100%" );
//if lockLHS() set the widget RO, otherwise let them decide.
Boolean readOnly = this.lockLHS() ? true : null;
IPattern pattern = model.lhs[ i ];
RuleModellerWidget w = getWidgetFactory().getWidget( this,
eventBus,
pattern,
readOnly );
w.addOnModifiedCommand( this.onWidgetModifiedCommand );
vert.add( wrapLHSWidget( model,
i,
w ) );
vert.add( spacerWidget() );
layout.setWidget( currentLayoutRow,
0,
new DirtyableHorizontalPane() );
layout.setWidget( currentLayoutRow,