boolean (@NotNull JComponent component) { if (myLogFilterCombo.getSelectedIndex() > 0) { return true; } var textFilterComponent = getTextFilterComponent(); if (textFilterComponent instanceof FilterComponent) { String filterText = ((FilterComponent)textFilterComponent).getFilter(); return StringUtil.isNotEmpty(filterText); } return false; }