void (@NotNull String query) { if (mySearchPanel.isEmpty()) { myCardPanel.select(1, true); myDetailsPage.showPlugin(null); } mySearchPanel.setQuery(query); mySearchTextField.addCurrentTextToHistory(); }