Bug 120216 Group dialog should be showed even dataset is not set.
- Add a table report item - do not set the data set - try creating a new table group. - An error is shown Expected behavior - As part of the template requirements, we dont want UI to do the validation. User should be able to go and define a group, even if the dataset is not defined.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
}
		return containElement( input, provider, element );
	}
	private static boolean containElement( Object parent,
			ITreeContentProvider provider, Object element )
	{
		if ( parent == null )
		{
			return false;
		}
		if ( parent == element || parent.equals( element ) )
		{
			return true;
		}
		if ( provider == null )
		{
			return false;
		}
		Object[] children = provider.getChildren( parent );
		for ( int i = 0; i < children.length; i++ )
		{
			if ( containElement( children[i], provider, element ) )
			{
				return true;
			}
		}
		return false;
	}
	/**
	 * Returns the plug-in provider