};
gridLayer.addLayerListener(listener);
try {
SelectionLayer selectionLayer = gridLayer.getBodyLayer()
.getSelectionLayer();
final GridSearchStrategy gridSearchStrategy = new GridSearchStrategy(
configRegistry, isWrapSearch, isColumnFirst);
final SearchCommand searchCommand = new SearchCommand(searchText,
selectionLayer, gridSearchStrategy,
isForward ? ISearchDirection.SEARCH_FORWARD
: ISearchDirection.SEARCH_BACKWARDS, isWrapSearch,