public void onSpecialKey(final Field field, final EventObject e) {
if (e.getKey() == EventObject.ENTER) {
SearchUtil searchUtil = new SearchUtil(getProjectId(), ClassTreePortlet.this, getSearchAsyncCallback());
searchUtil.setBusyComponent(searchField);
searchUtil.setSearchedValueType(ValueType.Cls);
searchUtil.search(searchField.getText());
}
}
});
return searchField;
}