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
private static int getTypeIndex( String typeName )
	{
		for ( int i = 0; i < dataTypes.length; i++ )
		{
			if (dataTypes[i].getName( ).equals( typeName ))
			{
				return i;
			}
		}
		return 0;
	}
	/**
	 * @param parent
	 * @param style
	 */
	public ResultSetColumnPage( Composite parent, int style )
	{
		super( parent, style );
		initPageInfos( );
		initLabelProvider( );
		setLayout( new GridLayout( 2, false ) );
		GridData gd = new GridData( GridData.FILL_BOTH );
		gd.widthHint = 650;
		setLayoutData( gd );
		createTableArea( );
		createButtonArea( );
		updateButtons( );
		initAccessible( );
	}