@Override
  public void update(@NotNull AnActionEvent event) {
    super.update(event);
    TypeHierarchyBrowserBase browser = getHierarchyBrowser(event.getDataContext());
    event.getPresentation().setEnabled(browser != null && !browser.isInterface());
  }
@Override
  public void update(@NotNull AnActionEvent event)