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
{
		MetaDataDictionary dd = MetaDataDictionary.getInstance( );
		ExtensionElementDefn extDefn = (ExtensionElementDefn) dd
				.getExtension( elementTypeName );
		if ( extDefn == null )
			return null;
		String extensionPoint = extDefn.getExtensionPoint( );
		if ( PeerExtensionLoader.EXTENSION_POINT
				.equalsIgnoreCase( extensionPoint ) )
			return newExtendedItem( name, elementTypeName );
		return null;
	}
	/**
	 * Creates a new free-form item.
	 * 
	 * @param name
	 *            the optional free-form name. Can be <code>null</code>.
	 * @return a handle to the free-form
	 */
	public FreeFormHandle newFreeForm( String name )
	{
		FreeForm element = new FreeForm( name );
		module.makeUniqueName( element );
		return element.handle( module );
	}
	/**
	 * Creates a new data item.
	 * 
	 * @param name
	 *            the optional data item name. Can be <code>null</code>.