@Override
    public Component getListCellRendererComponent(JList<? extends ImportCandidateHolder> list,
                                                  ImportCandidateHolder value,
                                                  int index,
                                                  boolean isSelected,
                                                  boolean cellHasFocus) {
      clear();

      PsiElement importable = value.getImportable();
      if (importable != null) {
        setIcon(importable.getIcon(0));
      }
      String item_name = value.getPresentableText();
      append(item_name, SimpleTextAttributes.REGULAR_ATTRIBUTES);

      setFont(FONT);
      if (isSelected) {
        setBackground(list.getSelectionBackground());
        setForeground(list.getSelectionForeground());
      }
      else {
        setBackground(list.getBackground());
        setForeground(list.getForeground());
      }
      return this;
    }
@Override
    public Component getListCellRendererComponent(JList<? extends ImportCandidateHolder> list,
                                                  ImportCandidateHolder value,
                                                  int index,
                                                  boolean isSelected,
                                                  boolean cellHasFocus)