}
private Component configureTextBoxAndButton(FilterDialog filterDialog,
int i, FilterCriterionImpl filterCriteria, GenericMetadata metadata) {
Component component;
component = new TextBoxAndButton(filterDialog);
((TextBoxAndButton) component).getTextField().setText(
filterCriteria.getValueFreeText());
FilterCriterionImpl fci = filterDialog.getFilterContext()
.getFilterCriterion(i);
((TextBoxAndButton) component).setType(metadata, fci);