private void updatePreviewVisibility(@NotNull SETab tab) {
    boolean noProviders = !hasPreviewProvider(tab);
    if (myUsagePreviewPanel != null) {
      myUsagePreviewPanel.setVisible(isPreviewEnabled() && isPreviewActive() && !noProviders && !myResultsList.isEmpty());
    }
  }
private void updatePreviewVisibility(@NotNull SETab tab)