@UiHandler("filter") public void onFilterSelected(KeyUpEvent event) { if (event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER || filter.getTextBox().getText().isEmpty()) { // variables list has changed so update all getUiHandlers().filterVariables(filter.getTextBox().getText()); } }
private void initializeDisplayOptions() { filter.getClear().setTitle(translations.clearFilter()); filter.getTextBox().setPlaceholder(translations.filterVariables()); }