@Override
      public Component getTreeCellRendererComponent(JTree tree,
                                                    Object value,
                                                    boolean sel,
                                                    boolean expanded,
                                                    boolean leaf,
                                                    int row,
                                                    boolean hasFocus) {
        myComponent.clear();
        if (value instanceof ProjectRootNode) {
          myComponent.append(getProjectNodeText());
          myComponent.setIcon(AllIcons.Nodes.Project);
        }
        else {
          FileNode fileNode = (FileNode)value;
          VirtualFile file = fileNode.getObject();
          myComponent.append(fileNode.getParent() instanceof FileNode ? file.getName() : file.getPresentableUrl());
          Icon icon = file.isDirectory()
                      ? fileIndex.isExcluded(file) ? AllIcons.Modules.ExcludeRoot
                                                   : PlatformIcons.FOLDER_ICON : IconUtil.getIcon(file, 0, null);
          myComponent.setIcon(icon);
        }
        SpeedSearchUtil.applySpeedSearchHighlighting(AbstractFileTreeTable.this, myComponent, false, selected);
        return myComponent;
      }
@Override
      public Component getTreeCellRendererComponent(JTree tree,
                                                    Object value,
                                                    boolean sel,
                                                    boolean expanded,
                                                    boolean leaf,
                                                    int row,
                                                    boolean hasFocus)