public void setGroups(final @NotNull ArrayList<GroupItem> groups) {
    myGroups.clear();
    myGroups.addAll(groups);

    fireGroupsChanged();
  }
public void setGroups(final @NotNull ArrayList<GroupItem> groups)