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));
fieldAndGroupBindings.add(getBindingFactory().createBinding(groupDef, DISPLAY_NAME_PROPERTY_NAME, FORMAT_GROUP_DISPLAY_NAME_TB_ID, VALUE_PROPERTY_NAME));
final ElementAlignment alignment = groupDef.getTotalsHorizontalAlignment();
/*
* This element was commented to turn off the Group Summary Alignment. Uncomment this to turn this
* feature back on when the engine supports it.
*/