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
.equals( VirtualField.TYPE_MEASURE ) )
										|| ( element instanceof VirtualField && ( (VirtualField) element ).getType( )
												.equals( VirtualField.TYPE_MEASURE_GROUP ) ) )
								{
									MeasureGroupHandle measureGroup = null;
									SessionHandleAdapter.getInstance( )
											.getCommandStack( )
											.startTrans( "" );
									if ( ( element instanceof VirtualField && ( (VirtualField) element ).getType( )
											.equals( VirtualField.TYPE_MEASURE_GROUP ) ) )
									{
										measureGroup = DesignElementFactory.getInstance( )
												.newTabularMeasureGroup( null ); 
										input.add( CubeHandle.MEASURE_GROUPS_PROP,
												measureGroup );
										if ( input.getContentCount( ICubeModel.MEASURE_GROUPS_PROP ) == 1 )
											input.setDefaultMeasureGroup( measureGroup );
									}
									else
									{
										if ( element instanceof MeasureGroupHandle )
											measureGroup = (MeasureGroupHandle) element;
										else
											measureGroup = (MeasureGroupHandle) ( (VirtualField) element ).getModel( );
									}
									TabularMeasureHandle measure = DesignElementFactory.getInstance( )
											.newTabularMeasure( dataField.getColumnName( ) );
									measure.setMeasureExpression( DEUtil.getExpression( dataField ) );
									measure.setDataType( dataField.getDataType( ) );
									measureGroup.add( IMeasureGroupModel.MEASURES_PROP,