if (replaceField != null) {
Property<String> replaceString = model.getProperty(TextSearchModel.REPLACE_STRING);
bindings.add(new TextBinding(replaceString, replaceField));
}
Property<Boolean> caseSensitive = model.getProperty(TextSearchModel.CASE_SENSITIVE);
bindings.add(new BooleanBinding(caseSensitive, caseSensitiveSelector));
Property<Boolean> wholeWords = model.getProperty(TextSearchModel.WHOLE_WORDS);
bindings.add(new BooleanBinding(wholeWords, wholeWordsSelector));
Property<Boolean> wrap = model.getProperty(TextSearchModel.WRAP_SEARCH);
bindings.add(new BooleanBinding(wrap, wrapSelector));
Property<SearchDirection> searchDirection = model.getProperty(TextSearchModel.DIRECTION);
bindings.add(new SearchDirectionBinding(searchDirection, directionPanel));
return bindings;
}