@Override
  public ItemPresentation getPresentation() {
    return new ItemPresentation() {
      @Override
      public String getPresentableText() {
        return getName();
      }

      @Override
      public String getLocationString() {
        VirtualFile file = getViewProvider().getVirtualFile().getParent();
        if (file != null && file.isValid() && file.isDirectory()) {
          return file.getPresentableUrl();
        }
        return null;
      }

      @Override
      public Icon getIcon(boolean open) {
        return PsiFileImpl.this.getIcon(0);
      }
    };
  }
@Override
  public ItemPresentation getPresentation()