// > GROUP SELECTER METHODS
  public void groupSelectionCompleted(Group group) {
    // Make sure we don't try to use the root group here
    if (group.isRoot()) group = null;

    // We are either selecting the join group or the leave group
    if (selectingJoinGroup) {
      setJoinGroupDisplay(group);
    } else {
      setLeaveGroupDisplay(group);
    }
  }
  private void setLeaveGroupDisplay(Group group) {
    Object leaveGroupButton = find(COMPONENT_LEAVE_GROUP_SELECT_LABEL);
    ui.setAttachedObject(leaveGroupButton, group);

    ui.setVisible(find("btLeaveGroupSelect"), group == null);
    ui.setVisible(find("btLeaveGroupRemove"), group != null);

    if (group != null) {
      ui.setText(leaveGroupButton, group.getPath());
    } else {
      ui.setText(
          leaveGroupButton,
          InternationalisationUtils.getI18nString(
              I18N_KEYWORD_ACTION_NO_GROUP,
              InternationalisationUtils.getI18nString(I18N_COMMON_NONE)));
    }
  }