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/ui/dialogs/GroupDialog.java
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Text;
/**
 * Group Properties Dialog
 */
public class GroupDialog extends BaseDialog
{
	private static final String GROUP_DLG_GROUP_FILTER_SORTING = Messages.getString( "GroupDialog.Label.FilterSorting" ); 
	private static final String GROUP_DLG_GROUP_RANGE_LABEL = Messages.getString( "GroupDialog.Label.Range" ); 
	private static final String GROUP_DLG_GROUP_INTERVAL_LABEL = Messages.getString( "GroupDialog.Label.Interval" ); 
	private static final String GROUP_DLG_GROUP_KEY_LABEL = Messages.getString( "GroupDialog.Label.GroupOn" ); 
	private static final String GROUP_DLG_GROUP_NAME_LABEL = Messages.getString( "GroupDialog.Label.Name" ); 
	private static final String TAB_SORTING = Messages.getString( "GroupDialog.Tab.Sorting" ); 
	private static final String TAB_FILTER = Messages.getString( "GroupDialog.Tab.Filter" ); 
	private static final String GROUP_DLG_INCLUDE_FOOTER_LABEL = Messages.getString( "GroupDialog.Label.IncludeFooter" ); 
	private static final String GROUP_DLG_INCLUDE_HEADER_LABEL = Messages.getString( "GroupDialog.Label.IncludeHeader" ); 
	private static final String GROUP_DLG_HEADER_FOOTER_LABEL = Messages.getString( "GroupDialog.Label.HeaderFooter" ); 
	private static final String GROUP_DLG_AREA_MSG = Messages.getString( "GroupDialog.Dialog.GroupDetail" ); 
	private static final String ERROR_DLG_TITLE_NO_DATA = Messages.getString( "GroupDialog.DialogTitle.NoData" ); 
	private static final String ERROR_MESSAGE_NO_DATA = Messages.getString( "GroupDialog.ErrorMessage.NoData" ); 
	public static final String GROUP_DLG_TITLE_NEW = Messages.getString( "GroupDialog.Title.New" );