* @param groupTitle The title of the group
* @return The group as a <code>Column</code>
*/
public Column addGroup(String groupName, String groupTitle) {
//Look for an existing group with the given name:
Column newColumn = (Column) getComponent(groupName);
//If nor group is found then create a new one:
if (newColumn == null) {
newColumn = new Column();
newColumn.setId(groupName);
newColumn.setStyleName("Default");
AccordionPaneLayoutData layoutData = new AccordionPaneLayoutData();
layoutData.setTitle(groupTitle);
newColumn.setLayoutData(layoutData);
this.add(newColumn);
}
return newColumn;
}