@Override
      public Component getListCellRendererComponent(JList<?> list, Object value, int index, boolean selected, boolean hasFocus) {
        if (value instanceof ToolsGroup) {
          SeparatorWithText separator = new SeparatorWithText();
          separator.setCaption(StringUtil.notNullize(((ToolsGroup<?>)value).getName(), ToolsBundle.message("tools.unnamed.group")));
          separator.setCaptionCentered(false);
          return separator;
        }
        else {
          return super.getListCellRendererComponent(list, value, index, selected, hasFocus);
        }
      }
@Override
      public Component getListCellRendererComponent(JList<?> list, Object value, int index, boolean selected, boolean hasFocus)