@Override
  protected void update(final AnActionEvent e, final ViewContext context, final Content[] content) {
    final boolean visible = content.length == 1;
    e.getPresentation().setVisible(visible);
    if (visible) {
      Toggleable.setSelected(e.getPresentation(), isToFocus(context, content));
    }
  }
@Override
  protected void update(final AnActionEvent e, final ViewContext context, final Content[] content)