@Override
  protected void update(@NotNull FileSystemTree tree, @NotNull AnActionEvent e) {
    VirtualFile dir = myDesktopDirectory.getValue();
    e.getPresentation().setEnabled(dir != null && tree.isUnderRoots(dir));
  }
@Override
  protected void update(@NotNull FileSystemTree tree, @NotNull AnActionEvent e)