@Override
  public void update(@NotNull final AnActionEvent e) {
    final TreeNodePresentation presentation = getPresentation();
    e.getPresentation().setEnabled(presentation != null && presentation.canNavigateToSource());
  }
@Override
  public void update(@NotNull final AnActionEvent e)