private void updateFilterButton() {
    boolean selected = isValueSelected() && isEnabled();
    myFilterActionButton.setEnabled(isEnabled());
    myFilterActionButton.setIcon(selected ? AllIcons.Actions.Close : AllIcons.General.ArrowDown);
    myFilterActionButton.setHoveredIcon(selected ? AllIcons.Actions.CloseHovered : AllIcons.General.ArrowDown);
    myFilterActionButton.setFocusable(selected);
    if (selected) {
      new HelpTooltip()
        .setTitle(VcsLogBundle.message("vcs.log.filter.clear"))
        .setShortcut(KeymapUtil.getKeyText(KeyEvent.VK_DELETE))
        .installOn(myFilterActionButton);
    }
    else {
      HelpTooltip.dispose(myFilterActionButton);
    }
  }
private void updateFilterButton()