Esempio n. 1
0
 @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());
   }
 }
Esempio n. 2
0
 private void initializeDisplayOptions() {
   filter.getClear().setTitle(translations.clearFilter());
   filter.getTextBox().setPlaceholder(translations.filterVariables());
 }