}
else if (activeTree.getId().equals(FORMAT_GROUPS_LIST_ID))
{ // We need to update the bindings for the groups list
if (getGroupFields().size() > 0) {
activeField = getGroupFields().get(selectedIndices[0]);
final DefaultGroupDefinition definition = (DefaultGroupDefinition) activeField.getFieldDefinition();
final XulGroupDefinition groupDef = new XulGroupDefinition(definition, getEditorModel().getDataSchema().getDataSchema());
activeXulWrapper = groupDef;
// Set the bindings on this group definition
fieldAndGroupBindings.add(getBindingFactory().createBinding(groupDef, GROUP_TOTALS_LABEL_PROPERTY_NAME, FORMAT_GROUP_TOTALS_LABEL_TB_ID, VALUE_PROPERTY_NAME));