Bug 316568 Refactor data set editor pages' codes[26849]
Build Identifier: 20100610 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/Utility.java
/**
     * get all data source list
     * 
     * @return
     */
    public static List getDataSources( )
	{
		return getReportModuleHandle( ).getDataSources( ).getContents( );
	}
    /**
	 * get visible data set list
	 * 
	 * @return
	 */
    public static List getVisibleDataSets( )
	{
		return getReportModuleHandle( )
				.getVisibleDataSets( );
	}
    
    /**
	 * find the dataSet according to the given name
	 * 
	 * @param name
	 * @return
	 */
	public static DataSetHandle findDataSet( String name )
	{
		return getReportModuleHandle( ).findDataSet( name );