@Override
      public boolean isSelected(@NotNull AnActionEvent e) {
        return properties.isValueSet(PREVIEW_PROPERTY_KEY);
      }
@Override
      public boolean isSelected(@NotNull AnActionEvent e)