{
// execution order is important here.
// first unlink the old root-group by setting a new one ...
final CrosstabCellBody selectedGroup = (CrosstabCellBody) selectedElement;
final CrosstabCell crosstabCell = new CrosstabCell();
selectedGroup.addElement(crosstabCell);
activeContext.getUndo().addChange(ActionMessages.getString("InsertCrosstabCellAction.UndoName"),
new InsertCellBodyUndoEntry(selectedGroup.getObjectID(), crosstabCell));
}
}