Bug 319351 Refactor data set editor pages' codes[28193]
Build Identifier: 20100708 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataSetProvider.java
}
			}
		}
	}
	/**
	 * 
	 * @param dataSet
	 * @return
	 * @throws BirtException
	 */
	public DataRequestSession getDataRequestSession( DataSetHandle dataSet )
			throws BirtException
	{
		if ( sessionTable.get( dataSet.getName( ) ) != null )
			return (DataRequestSession) sessionTable.get( dataSet.getName( ) );
		else
		{
			DataSessionContext context = new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION,
					dataSet.getModuleHandle( ) );
			DataRequestSession session = DataRequestSession.newSession( context );
			sessionTable.put( dataSet.getName( ), session );
			return session;
		}
	}
	/**
	 * @param dataSet
	 * @return
	 * @throws BirtException
	 */
	public Collection getParametersFromDataSet( DataSetHandle dataSet )