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
keyChooser = new Combo( composite, SWT.DROP_DOWN );
		keyChooser.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		keyChooser.addModifyListener( new ModifyListener( ) {
			public void modifyText( ModifyEvent e )
			{
				getOkButton( ).setEnabled( keyChooser.getText( ).length( ) > 0 );
			}
		} );
		
		Composite intervalArea = new Composite( composite, SWT.NONE );
		intervalArea.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		intervalArea.setLayout( UIUtil.createGridLayoutWithoutMargin( 2, false ) );
		
		new Label( intervalArea, SWT.NONE ).setText( GROUP_DLG_GROUP_INTERVAL_LABEL );
		new Label( intervalArea, SWT.NONE ).setText( GROUP_DLG_GROUP_RANGE_LABEL );
		
		intervalType = new Combo( intervalArea, SWT.READ_ONLY | SWT.DROP_DOWN );
		intervalType.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
		for ( int i = 0; i < intervalChoices.length; i++ )
		{
			intervalType.add( intervalChoices[i].getDisplayName( ) );
		}
		intervalType.setData( intervalChoices );
		intervalType.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				intervalRange.setEnabled( intervalType.getSelectionIndex( ) != 0 );
			}
		} );