@Override
    public boolean isSelected(final @NotNull AnActionEvent event) {
      String visibleViewName = myVisibleViewRef.get();
      if (visibleViewName == null) return true;
      Set<String> viewNames = myViewMap.keySet();
      return viewNames.isEmpty() || visibleViewName.equals(viewNames.iterator().next());
    }
@Override
    public boolean isSelected(final @NotNull AnActionEvent event)