protected void renderTarget(@Nullable Object target, @NotNull ColoredTextContainer renderer) {
    VirtualFile file = target instanceof VirtualFile ? (VirtualFile)target : null;
    if (file != null) {
      renderer.setIcon(IconUtil.getIcon(file, Iconable.ICON_FLAG_READ_STATUS, myProject));
      VirtualFile parent = file.getParent();
      if (parent != null) {
        String projectPath = myProject.getBasePath();
        String parentPath = parent.getPath();
        String relativePath = projectPath != null && parentPath.startsWith(projectPath) ?
                              "..." + parentPath.substring(projectPath.length()) : parentPath;
        String presentablePath = FileUtil.toSystemDependentName(relativePath + "/");
        renderer.append(presentablePath, SimpleTextAttributes.GRAY_ATTRIBUTES);
      }
      renderer.append(file.getName(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
    }
    else if (target == null) {
      renderer.append(LangBundle.message("PerFileConfigurableBase.label.project"), SimpleTextAttributes.GRAY_ATTRIBUTES);
    }
  }
protected void renderTarget(@Nullable Object target, @NotNull ColoredTextContainer renderer)