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.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetColumnPage.java
protected void initLabelProvider( )
	{
		labelProvider = new ITableLabelProvider( ) {
			public Image getColumnImage( Object element, int columnIndex )
			{
				return null;
			}
			public String getColumnText( Object element, int columnIndex )
			{
				ResultSetColumnModel model = (ResultSetColumnModel) element;
				String text = null;
				switch ( columnIndex )
				{
					case 1 :
						text = model.columnName;
						break;
					case 2 :
						if ( model.dataType >= 0
								&& model.dataType < dataTypes.length )
						{
							text = dataTypes[model.dataType].getDisplayName( );
						}
						break;
					case 3 :
						text = model.alias;
						break;
					case 4 :
						text = model.displayName;
						break;
					case 5 :