Bug 119331 Library - name space terminology and behavior
During BIRT 2.0 library feature review meeting the following change was decided. - Change the term namespace to 'prefix' - By default use the library name as the prefix ( namespace ); the dialog to input prefix should be prompted only if hte auto generated prefix is not unique.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
}
	}
	private static boolean addGroup( DesignElementHandle parent, int position )
			throws SemanticException
	{
		GroupHandle groupHandle = null;
		SlotHandle slotHandle = null;
		
		DesignElementFactory factory = DesignElementFactory.getInstance( parent.getModuleHandle( ) );
		if ( parent instanceof TableHandle )
		{
			groupHandle = factory.newTableGroup( );
			slotHandle = ( (TableHandle) parent ).getGroups( );
			int columnCount = ( (TableHandle) parent ).getColumnCount( );
			groupHandle.getHeader( ).add( factory.newTableRow( columnCount ) );
			groupHandle.getFooter( ).add( factory.newTableRow( columnCount ) );
		}
		else if ( parent instanceof ListHandle )
		{
			groupHandle = factory.newListGroup( );
			slotHandle = ( (ListHandle) parent ).getGroups( );
		}
		if ( groupHandle != null && slotHandle != null )
		{
			slotHandle.add( groupHandle, position );
			if ( !DEUtil.getDataSetList( parent ).isEmpty( ) )
			{
				GroupDialog dialog = new GroupDialog( getDefaultShell( ),
						GroupDialog.GROUP_DLG_TITLE_NEW );
				dialog.setDataSetList( DEUtil.getDataSetList( parent ) );