this.editingCol = cloneActionRetractColumn( col );
this.model = model;
//Show available pattern bindings, if Limited Entry
if ( model.getTableFormat() == TableFormat.LIMITED_ENTRY ) {
final LimitedEntryActionRetractFactCol52 ler = (LimitedEntryActionRetractFactCol52) editingCol;
final ListBox patterns = loadBoundFacts( ler.getValue().getStringValue() );
patterns.setEnabled( !isReadOnly );
if ( !isReadOnly ) {
patterns.addClickHandler( new ClickHandler() {
public void onClick( ClickEvent event ) {
int index = patterns.getSelectedIndex();
if ( index > -1 ) {
ler.getValue().setStringValue( patterns.getValue( index ) );
}
}
} );
}