Bug 190957 The cancel button in group level dialog in cube take no effect[1101]
Description: The cancel button in group level dialog in cube take no effect[1101] Build number: 2.2.0.v20070605-0630 Steps to reproduce: 1, New a cube 2, New a level 3, Do some operations on the level 4, Click cancel button Expected result: The cancel button can take effect to cancel all the operations Actual result: The cancel button take no effect and all the operations have done
UI/org.eclipse.birt.report.designer.ui.cubebuilder/src/org/eclipse/birt/report/designer/ui/cubebuilder/page/CubeGroupContent.java
ResultSetColumnHandle dataField = (ResultSetColumnHandle) temp;
			DataSetHandle dataset = (DataSetHandle) dataField.getElementHandle( );
			DataSetHandle primary = ( input ).getDataSet( );
			TreeSelection slections = (TreeSelection) groupViewer.getSelection( );
			Iterator iter = slections.iterator( );
			while ( iter.hasNext( ) )
			{
				Object obj = iter.next( );
				if ( obj instanceof TabularLevelHandle )
				{
					if ( isDateType( dataField.getDataType( ) ) )
						continue;
					TabularHierarchyHandle hierarchy = ( (TabularHierarchyHandle) ( (TabularLevelHandle) obj ).getContainer( ) );
					TabularDimensionHandle dimension = (TabularDimensionHandle) hierarchy.getContainer( );
					if ( dimension.isTimeType( ) )
						continue;
					DataSetHandle dasetTemp = hierarchy.getDataSet( );
					if ( dasetTemp != null
							&& dataset != null
							&& dataset != dasetTemp )
					{
						continue;
					}
					SessionHandleAdapter.getInstance( ).getCommandStack( ).startTrans( "" );
					if ( hierarchy.getDataSet( ) == null )
					{
						try
						{
							hierarchy.setDataSet( dataset );
						}