Bug 212497 Need api to get all referencable report item with cube
Need model provide new api to return all referencable report items for dataset or cube respectively. For instance: getAvailableDataSetBindingReferenceList(); getAvailableCubeBindingReferenceList(); also keep current api: getAvailableDataBindingReferenceList().
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ReportItemDataRefTest.java
.getOperator( ) );
	}
	/**
	 * Tests the command to add, remove and move the group element.
	 * 
	 * @throws Exception
	 */
	public void testAddandRemoveDataGroup( ) throws Exception
	{
		openDesign( "DataGroupRef_1.xml" ); 
		TableHandle table1 = (TableHandle) designHandle
				.findElement( "myTable1" ); 
		GroupHandle newGroup = designHandle.getElementFactory( )
				.newTableGroup( );
		table1.addElement( newGroup, TableHandle.GROUP_SLOT );
		save( );
		assertTrue( compareFile( "DataGroupAdded_golden.xml" ) ); 
		newGroup.drop( );
		save( );
		assertTrue( compareFile( "DataGroupDropped_golden.xml" ) ); 
		designHandle.getCommandStack( ).undo( );
		save( );
		assertTrue( compareFile( "DataGroupUndoDrop_golden.xml" ) ); 
		newGroup.getContainerSlotHandle( ).shift( newGroup, 0 );
		save( );
		assertTrue( compareFile( "DataGroupShiftPosition_golden.xml" ) ); 
	}
	/**
	 * Tests canEdit(), canDrop() methods for the shared data group.
	 * canContain() should be true always.