Bug 189080 Cancel button does not work when create dimensions in cube[1101]
Description: Create a group(dimension) in cube builder, click "cancel" button, but actually a dimension is created. Build:2.2.0.v20070525-1114 Steps to reproduce: 1.Create a sample datasource and dataset. 2.Create a cube, bind with the dataset. 3.In the "Cross Tab Cube Builder", click "add" button on the right margin. "Add Group" dialog pops up, then click "cancel" button, but the group is created in fact. Expect result: Click "Cancel" button works.
UI/org.eclipse.birt.report.designer.ui.cubebuilder/src/org/eclipse/birt/report/designer/ui/cubebuilder/page/CubeGroupContent.java
}
						else if ( element instanceof DimensionHandle
								|| ( element instanceof VirtualField && ( (VirtualField) element ).getType( )
										.equals( VirtualField.TYPE_LEVEL ) ) )
						{
							DimensionHandle dimension = null;
							if ( element instanceof DimensionHandle )
								dimension = (DimensionHandle) element;
							else
								dimension = (DimensionHandle) ( (VirtualField) element ).getModel( );
							if ( dimension.isTimeType( ) )
							{
								event.detail = DND.DROP_NONE;
								return;
							}
							DataSetHandle temp = ( (TabularHierarchyHandle) dimension.getDefaultHierarchy( ) ).getDataSet( );
							if ( temp != null
									&& dataset != null
									&& dataset != temp )
							{
								event.detail = DND.DROP_NONE;
								return;
							}
							TabularHierarchyHandle hierarchy = ( (TabularHierarchyHandle) dimension.getDefaultHierarchy( ) );
							if ( hierarchy.getContentCount( IHierarchyModel.LEVELS_PROP ) > 0 )
							{
								if ( dataField != null
										&& isDateType( dataField.getDataType( ) ) )
								{
									event.detail = DND.DROP_NONE;