void (boolean visible) { if (visible && myFilterPanel.getVariable() == null) { myFilterPanel.initFilters(UIUtil.getOrAddVariableConstraint(Configuration.CONTEXT_VAR_NAME, myConfiguration)); } if (isFilterPanelVisible() != visible) { mySearchEditorPanel.setSecondComponent(visible ? myFilterPanel.getComponent() : null); } }