Bug 179688 Dimension should not be able to be deleted through Context Menu [1102]
Description: Dimension should not be able to be deleted through Context Menu. Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1. New a Cross tab, drag Group to column. 2. Select the Group and right click to choose "Delete" in the context menu. Expected result: Dimension should not be able to be deleted through Context Menu. Actual result: Dimension can be deleted through Context Menu. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java
row = (RowHandle) ( (CellHandle) getFirstElement( ) ).getContainer( );
			}
			else
			{
				row = (RowHandle) getFirstElement( );
			}
			if ( !( row.getContainer( ) instanceof TableGroupHandle ) )
			{
				int slotID = row.getContainerSlotHandle( ).getSlotID( );
				menuManager.appendToGroup( group_name,
						InsertGroupActionFactory.createInsertGroupAction( slotID,
								getSelectedObjects( ) ) );
				return;
			}
		}
		if ( getFirstElement( ) instanceof SlotHandle )
		{
			DesignElementHandle container = ( (SlotHandle) getFirstElement( ) ).getElementHandle( );
			if ( !( container instanceof ListGroupHandle ) )
			{
				int slotID = ( (SlotHandle) getFirstElement( ) ).getSlotID( );
				menuManager.appendToGroup( group_name,
						InsertGroupActionFactory.createInsertGroupAction( slotID,
								getSelectedObjects( ) ) );
				return;
			}
		}
		MenuManager subMenu = new MenuManager( Messages.getString( "InsertGroupAction.actionMsg.group" ) ); 
		Action[] actions = InsertGroupActionFactory.getInsertGroupActions( getSelectedObjects( ) );
		for ( int i = 0; i < actions.length; i++ )