Bug 321474 Refactor data set editor pages' codes[28816]
Build Identifier: 20100729 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
{
			return new DataSetViewData[0];
		}
		DataSetViewData[] columns = null;
		try
		{
			DataSessionContext context = new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION,
					dataSet.getModuleHandle( ) );
			DataRequestSession session = DataRequestSession.newSession( context );
			
			columns = (DataSetViewData[]) htColumns.get( dataSet );
			
			if ( columns == null || refresh )
			{
				columns = this.populateAllOutputColumns( dataSet, session );
				htColumns.put( dataSet, columns );
			}
			session.shutdown( );
		}
		catch ( BirtException e )
		{
			if ( !suppressErrorMessage )
			{
				ExceptionHandler.handle( e );
			}
			columns = null;
		}
		
		
		if ( columns == null )