TextSearchModel searchModel = getSearchModel();
SearchTarget target = new TreeSearchTarget(tree);
SearchTextDialog dialog = new SearchTextDialog(searchModel, target);
dialog.setTitle(title);
Window dialogOwner = getDialogOwner();
dialog.show(dialogOwner);
}
private TextSearchModel getSearchModel() {
if (sharedModel == null) {
sharedModel = new TextSearchModel();