{
return;
}
final RelationalGroup newGroup = new RelationalGroup();
final EditGroupUndoEntry groupUndoEntry = EditGroupAction.performEditGroup(getReportDesignerContext(), newGroup, true);
if (groupUndoEntry == null)
{
return;
}
// apply the data from the EditGroupAction ..
newGroup.setName(groupUndoEntry.getNewName());
newGroup.setFieldsArray(groupUndoEntry.getNewFields());
try
{
Object selectedElement = activeContext.getReportDefinition();
if (getSelectionModel().getSelectionCount() > 0)