@Override
  protected void update(@NotNull FileSystemTree fileSystemTree, @NotNull AnActionEvent e) {
    Project project = e.getProject();
    if (LightEdit.owns(project)) {
      e.getPresentation().setEnabled(getSelectedFile(fileSystemTree, project) != null);
    }
    else {
      e.getPresentation().setEnabledAndVisible(false);
    }
  }
@Override
  protected void update(@NotNull FileSystemTree fileSystemTree, @NotNull AnActionEvent e)