Bug 189751 cube enhancement: Groups and Summaries category; an empty summary field is being created.
Based on bug Id# 187412: Cube builder enhancement While reviewing the cube builder enhancements, I found some things that are not updated as the mock up. Please see the attached document. Under Groups and summaries category: 1. If new a cube, under 'groups and Summaries' category, by default an empty summary field is being created. No empty groups and summaries should be there to start with. Make it consistent as 'Groups (dimension): no empty group is there. 2. The category title should repeats itself as Groups and Summaries 3. Primary Dataset has to be listed as (Primary)
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ElementFactory.java
public LineHandle newLineItem( String name )
	{
		LineItem element = new LineItem( name );
		module.makeUniqueName( element );
		return element.handle( module );
	}
	/**
	 * Creates a new rectangle.
	 * 
	 * @param name
	 *            the optional rectangle name. Can be <code>null</code>.
	 * @return a handle to rectangle
	 */
	public RectangleHandle newRectangle( String name )
	{
		RectangleItem element = new RectangleItem( name );
		module.makeUniqueName( element );
		return element.handle( module );
	}
	/**
	 * Creates a new multi line data item.
	 * 
	 * @param name
	 *            the optional multi line data name. Can be <code>null</code>.
	 * @return a handle to multi line data item
	 */
	public TextDataHandle newTextData( String name )
	{
		TextDataItem element = new TextDataItem( name );
		module.makeUniqueName( element );