void () { if (!mySearchPanel.isEmpty()) { onSearchReset(); myCardPanel.select(0, true); mySearchPanel.setQuery(""); updateMainSelection(mySelectionListener); } if (mySearchPanel.controller != null) { mySearchPanel.controller.hidePopup(); } }