public static @Nullable IButtonGroup findGroupForComponent(final IRootContainer radRootContainer, final @NotNull IComponent component) {
    for (IButtonGroup group : radRootContainer.getButtonGroups()) {
      if (ArrayUtil.contains(component.getId(), group.getComponentIds())) {
          return group;
      }
    }
    return null;
  }
public static @Nullable IButtonGroup findGroupForComponent(final IRootContainer radRootContainer, final @NotNull IComponent component)