Bug 176579 Expose setGroupLevel() on IGroupContent interface
Currently IGroupContent interface doesn't expose setGroupLevel() method, this is required for custom IReportItemExecutor to construct the group content. following is the suggested code change: public int getGroupLevel( ) { if ( groupLevel != -1 ) { return groupLevel; } if ( generateBy instanceof GroupDesign ) { GroupDesign design = (GroupDesign) generateBy; return design.getGroupLevel( ); } return -1; } public void setGroupLevel( int level ) { this.groupLevel = level; }
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/GroupContent.java
public void setGroupID(String groupId)
	{
		this.groupId = groupId;
	}
	public boolean isHeaderRepeat( )
	{
		if (headerRepeat != null)
		{
			return headerRepeat.booleanValue( );
		}
		if (generateBy instanceof GroupDesign)
		{
			GroupDesign design = (GroupDesign)generateBy;
			return design.isHeaderRepeat( );
			
		}
		return false;
	}
	
	public int getGroupLevel()
	{
		if (generateBy instanceof GroupDesign)
		{
			GroupDesign design = (GroupDesign)generateBy;
			return design.getGroupLevel( );
		}
		return -1;
	}
	public void setHeaderRepeat( boolean repeat )
	{