@Override
  protected boolean getOptionValue(@NotNull AnActionEvent e) {
    UsageViewImpl impl = RuleAction.getUsageViewImpl(e);
    return impl != null && impl.isPreviewUsages();
  }
@Override
  protected boolean getOptionValue(@NotNull AnActionEvent e)